aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/profile.php4
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'";