]> andersk Git - sql-web.git/blobdiff - batch/status.php
Remove ambiguity between usernames and user IDs
[sql-web.git] / batch / status.php
index bb961e1cdfbc329eeb7606b22893422fea857dec..fa670cafec9494231ebbea8ed32b92f05b2d4ff7 100755 (executable)
@@ -5,8 +5,9 @@ require_once('mitsql.lib.php');
 
 require_once('batch.inc.php');
 
-$Login = new Login($i_u);
-if (!$Login->canLogin()) die('-1');
+$Login = new Login(getUsernameID($i_u));
+// Previously "-1" -- verify consistency
+if (!$Login->canLogin()) die('1');
 
 die('0');
 
This page took 0.026602 seconds and 4 git commands to generate.