about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--central/trunk/index.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/central/trunk/index.php b/central/trunk/index.php index 1d85fa1..569b5f4 100644 --- a/central/trunk/index.php +++ b/central/trunk/index.php
@@ -250,7 +250,7 @@ function createUser($username, $password)
250{ 250{
251 $getuser = "SELECT * FROM users WHERE username = \"" . mysql_real_escape_string($username) . "\""; 251 $getuser = "SELECT * FROM users WHERE username = \"" . mysql_real_escape_string($username) . "\"";
252 $getuser2 = mysql_query($getuser); 252 $getuser2 = mysql_query($getuser);
253 $getuser3 = mysql_fetch_array$($getuser2); 253 $getuser3 = mysql_fetch_array($getuser2);
254 if ($getuser3['username'] == $username) 254 if ($getuser3['username'] == $username)
255 { 255 {
256 $ij = 0; 256 $ij = 0;
@@ -261,7 +261,7 @@ function createUser($username, $password)
261 261
262 $getuser = "SELECT * FROM users WHERE username = \"" . mysql_real_escape_string($fakeUN) . "\""; 262 $getuser = "SELECT * FROM users WHERE username = \"" . mysql_real_escape_string($fakeUN) . "\"";
263 $getuser2 = mysql_query($getuser); 263 $getuser2 = mysql_query($getuser);
264 $getuser3 = mysql_fetch_array$($getuser2); 264 $getuser3 = mysql_fetch_array($getuser2);
265 if ($getuser3['username'] != $username) 265 if ($getuser3['username'] != $username)
266 { 266 {
267 $ij = 1; 267 $ij = 1;