|
From: Jonathan H. <the...@us...> - 2001-10-15 20:15:49
|
Update of /cvsroot/phpbb/phpBB2/includes
In directory usw-pr-cvs1:/tmp/cvs-serv17128/includes
Modified Files:
functions.php
Log Message:
Username Disallow Admin...
Index: functions.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/includes/functions.php,v
retrieving revision 1.74
retrieving revision 1.75
diff -C2 -r1.74 -r1.75
*** functions.php 2001/10/14 15:48:38 1.74
--- functions.php 2001/10/15 20:15:46 1.75
***************
*** 487,491 ****
$sql_disallow = "SELECT disallow_username
FROM " . DISALLOW_TABLE . "
! WHERE disallow_username = '$username'";
if($result = $db->sql_query($sql_users))
{
--- 487,491 ----
$sql_disallow = "SELECT disallow_username
FROM " . DISALLOW_TABLE . "
! WHERE '$username' LIKE disallow_username";
if($result = $db->sql_query($sql_users))
{
***************
*** 514,518 ****
SELECT disallow_username, NULL
FROM " . DISALLOW_TABLE . "
! WHERE disallow_username = '$username'";
if($result = $db->sql_query($sql))
{
--- 514,518 ----
SELECT disallow_username, NULL
FROM " . DISALLOW_TABLE . "
! WHERE '$username' LIKE disallow_username";
if($result = $db->sql_query($sql))
{
***************
*** 1208,1210 ****
}
! ?>
\ No newline at end of file
--- 1208,1210 ----
}
! ?>
|