mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-02 14:57:37 +02:00
Mental note - Remove echos before commiting ...
git-svn-id: file:///svn/phpbb/trunk@420 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -48,10 +48,10 @@ function validate_username($username)
|
|||||||
// a UNION clause which would be very nice here :(
|
// a UNION clause which would be very nice here :(
|
||||||
// So we have to use two queries
|
// So we have to use two queries
|
||||||
case 'mysql':
|
case 'mysql':
|
||||||
echo $sql_users = "SELECT username
|
$sql_users = "SELECT username
|
||||||
FROM ".USERS_TABLE."
|
FROM ".USERS_TABLE."
|
||||||
WHERE LOWER(username) = '".strtolower($username)."'";
|
WHERE LOWER(username) = '".strtolower($username)."'";
|
||||||
echo $sql_disallow = "SELECT disallow_username
|
$sql_disallow = "SELECT disallow_username
|
||||||
FROM ".DISALLOW_TABLE."
|
FROM ".DISALLOW_TABLE."
|
||||||
WHERE disallow_username = '$username'";
|
WHERE disallow_username = '$username'";
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user