summaryrefslogtreecommitdiff
path: root/src/lib/Database.class.php
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2011-09-05 18:58:43 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2011-09-05 18:58:43 -0400
commit70557422c2d999b85fd7ba45718da357f022fcfd (patch)
treec3824157a49d46252d6c969a525d9b885c6f5440 /src/lib/Database.class.php
parentc81e480daaa233c35fec262e9907d35179db5e86 (diff)
Fix 3 bugs (stray * in SQL, typo in variable name, a place where isLoggedIn() was still being called on the DB
Diffstat (limited to 'src/lib/Database.class.php')
-rw-r--r--src/lib/Database.class.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/Database.class.php b/src/lib/Database.class.php
index 07df993..a7c8b4b 100644
--- a/src/lib/Database.class.php
+++ b/src/lib/Database.class.php
@@ -164,9 +164,9 @@ class Database {
$table = $this->mysql_table('auth');
$s = $this->mysql_escape($status);
$query =
- "UPDATE $table * \n".
- "SET status=$s \n".
- "WHERE uid=$uid ;";
+ "UPDATE $table \n".
+ "SET status=$s \n".
+ "WHERE uid=$uid ;";
$q = $this->mysql_query($query);
return ($q?true:false);
}