fixed bug preventing signups
This commit is contained in:
@@ -25,7 +25,7 @@ function user_id_exists($user_id)
|
||||
|
||||
function username_exists($username)
|
||||
{
|
||||
$result = exec_stmt('SELECT username FROM user WHERE username = "?"', 'i', $username)->fetch_assoc();
|
||||
$result = exec_stmt('SELECT username FROM user WHERE username = ?', 'i', $username)->fetch_assoc();
|
||||
|
||||
if ($result == null)
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user