corrected typos in login.php
This commit is contained in:
@@ -20,6 +20,10 @@ if($uid == '') {
|
||||
$error = 16102;
|
||||
} else {
|
||||
$name = $db->query('SELECT "name" FROM "Users" WHERE "ID" = $1', array($uid))['data'][0]['name'];
|
||||
$data = array('uid' => $uid, 'name' => $name);
|
||||
}
|
||||
}
|
||||
$response = Database::create_response($data, $error);
|
||||
print $response;
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user