summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-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);
}