Authors: Jonathan Ernst <Jonathan@ernstfamily.ch>, Paul van Schayck <polleke@gmail.com>, Tony Lambregts <tony_lambregts@telusplanet.net>

New preferences fix
This commit is contained in:
WineHQ
2005-01-14 05:28:58 +00:00
parent 2a153fec68
commit 6b806b79e1
2 changed files with 10 additions and 22 deletions

View File

@@ -17,8 +17,8 @@ if(!loggedin())
function build_prefs_list()
{
$result = query_userdb("SELECT * FROM prefs_list ORDER BY id");
while($r = mysql_fetch_object($result))
$result = query_appdb("SELECT * FROM prefs_list ORDER BY id");
while($result && $r = mysql_fetch_object($result))
{
//skip admin options
//TODO: add a field to prefs_list to flag the user level for the pref