Commit 8a981fe4 authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

Add optargs ...

parent 7e024ea4
......@@ -23,6 +23,13 @@ if (!$isadmin && !STUDLY()) {
USERERROR("You are not allowed to view this page!", 1);
}
#
# Verify page arguments.
#
$optargs = OptionalPageArguments("showby", PAGEARG_STRING,
"sortby", PAGEARG_STRING,
"range", PAGEARG_STRING);
# Page args,
if (! isset($showby)) {
$showby = "users";
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment