Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
0d66abb5
Commit
0d66abb5
authored
Mar 09, 2007
by
Leigh B. Stoller
Browse files
Fix PHP Warnings
parent
25739c16
Changes
2
Hide whitespace changes
Inline
Side-by-side
www/linktest.php3
View file @
0d66abb5
...
...
@@ -102,7 +102,7 @@ $linktest_running = 0;
function
SPEWCLEANUP
()
{
global
$pid
,
$unix_gid
,
$eid
,
$linktest_running
;
global
$pid
,
$unix_gid
,
$uid
,
$eid
,
$linktest_running
;
if
(
connection_aborted
()
&&
$linktest_running
)
{
SUEXEC
(
$uid
,
"
$pid
,
$unix_gid
"
,
"weblinktest -k
$pid
$eid
"
,
...
...
www/moduserinfo.php3
View file @
0d66abb5
...
...
@@ -168,8 +168,9 @@ function SPITFORM($formfields, $errors)
#
# Country needs a default for older users.
#
if
(
!
strcmp
(
$formfields
[
"usr_country"
],
""
))
{
$formfields
[
usr_country
]
=
"USA"
;
if
(
!
isset
(
$formfields
[
"usr_country"
])
||
$formfields
[
"usr_country"
]
==
""
)
{
$formfields
[
"usr_country"
]
=
"USA"
;
}
#
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment