mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00: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:
parent
7858865add
commit
bfa2136438
1 changed files with 2 additions and 2 deletions
|
@ -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'";
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue