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

Fix up calls to USERERROR

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