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
25be2e28
Commit
25be2e28
authored
Mar 07, 2006
by
Leigh B. Stoller
Browse files
A minor fix I forgot to check in; validate the records argument.
parent
00b820f6
Changes
1
Hide whitespace changes
Inline
Side-by-side
www/showstats.php3
View file @
25be2e28
...
...
@@ -36,10 +36,12 @@ if (! isset($which))
if
(
!
isset
(
$records
)
||
!
strcmp
(
$records
,
""
))
{
$records
=
100
;
}
elseif
(
!
TBvalid_integer
(
$records
))
{
PAGEARGERROR
(
"Invalid argument:
$records
!"
);
}
echo
"<b>Show: <a class='static' href='showexpstats.php3'>
Experiment Stats</a>"
;
if
(
$isadmin
)
{
echo
"<a class='static' href='showsumstats.php3'>, Summary Stats</a>
\n
"
;
}
...
...
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