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

Fix up calls to USERERROR

parent 0f53b34c
......@@ -17,11 +17,11 @@ $uid = GETLOGIN();
if (!isset($nsdata)) {
ERROR( "Need to send NSFILE!" );
USERERROR( "Need to send NSFILE!" );
if (!isset($nsref) || !ereg("^[0-9]+$", $nsref)) {
ERROR( "Need to send valid NSREF!" );
USERERROR( "Need to send valid NSREF!" );
#if (isset($nsdata)) {
Supports Markdown
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