diff options
| author | Paul S. Owen <psotfx@users.sourceforge.net> | 2001-06-03 20:10:14 +0000 |
|---|---|---|
| committer | Paul S. Owen <psotfx@users.sourceforge.net> | 2001-06-03 20:10:14 +0000 |
| commit | bfa2136438a8459bb1e1a9fd02f6f4addceb4bec (patch) | |
| tree | 0e6412018d0b4dfd5777df8ef815a0796672c836 /phpBB | |
| parent | 7858865add8a825050d3eec0e18d078787ddea50 (diff) | |
| download | forums-bfa2136438a8459bb1e1a9fd02f6f4addceb4bec.tar forums-bfa2136438a8459bb1e1a9fd02f6f4addceb4bec.tar.gz forums-bfa2136438a8459bb1e1a9fd02f6f4addceb4bec.tar.bz2 forums-bfa2136438a8459bb1e1a9fd02f6f4addceb4bec.tar.xz forums-bfa2136438a8459bb1e1a9fd02f6f4addceb4bec.zip | |
Mental note - Remove echos before commiting ...
git-svn-id: file:///svn/phpbb/trunk@420 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB')
| -rw-r--r-- | phpBB/profile.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/profile.php b/phpBB/profile.php index 48f9ca95d3..e799ca6c88 100644 --- a/phpBB/profile.php +++ b/phpBB/profile.php @@ -48,10 +48,10 @@ function validate_username($username) // a UNION clause which would be very nice here :( // So we have to use two queries case 'mysql': - echo $sql_users = "SELECT username + $sql_users = "SELECT username FROM ".USERS_TABLE." WHERE LOWER(username) = '".strtolower($username)."'"; - echo $sql_disallow = "SELECT disallow_username + $sql_disallow = "SELECT disallow_username FROM ".DISALLOW_TABLE." WHERE disallow_username = '$username'"; |
