From 730d21e8d85efea95614e8bd93703dd6d12bfd0f Mon Sep 17 00:00:00 2001 From: Karl 'vollmerk' Vollmer Date: Tue, 13 Feb 2007 22:38:13 +0000 Subject: removed dead file, updated bin files, removed debug and added a new config option --- lib/class/user.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/class') diff --git a/lib/class/user.class.php b/lib/class/user.class.php index a14863a5..9ff68a15 100644 --- a/lib/class/user.class.php +++ b/lib/class/user.class.php @@ -757,8 +757,8 @@ class User { /* If we aren't the -1 user before we continue grab the -1 users values */ if ($user_id != '-1') { - $sql = "SELECT `user_preference.preference`,`user_preference.value` FROM `user_preference`,`preferences` " . - "WHERE `user_preference.preference` = `preferences.id` AND `user_preference.user`='-1' AND `preferences.catagory` !='system'"; + $sql = "SELECT `user_preference`.`preference`,`user_preference`.`value` FROM `user_preference`,`preferences` " . + "WHERE `user_preference`.`preference` = `preferences`.`id` AND `user_preference`.`user`='-1' AND `preferences`.`catagory` !='system'"; $db_results = mysql_query($sql, dbh()); /* While through our base stuff */ while ($r = mysql_fetch_object($db_results)) { -- cgit