Commit dcf2d13f authored by Leigh Stoller's avatar Leigh Stoller

Fix up calls to USERERROR

parent 0f53b34c
......@@ -17,11 +17,11 @@ $uid = GETLOGIN();
LOGGEDINORDIE($uid);
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)) {
......
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