diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2008-05-10 11:00:57 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2008-05-10 11:00:57 +0000 |
commit | 08598b34a8621838ce64f4b8a3f2164072c3be1b (patch) | |
tree | 825a9083a413fa5da3491b6da735c6ad3cdb2c41 /lib/preferences.php | |
parent | 2f5c09b55c9f0f4149d2ae3ff41678807dab322a (diff) | |
download | ampache-08598b34a8621838ce64f4b8a3f2164072c3be1b.tar.gz ampache-08598b34a8621838ce64f4b8a3f2164072c3be1b.tar.bz2 ampache-08598b34a8621838ce64f4b8a3f2164072c3be1b.zip |
some rather major bug fixes, corrected a preference setting issue, as well as a preference update issue, fixed infinite plugin installing for fun and profit, also fixed updating the config file not regenerating the version correctly and the user creation allowing users with blank password, which does not work at the login
Diffstat (limited to 'lib/preferences.php')
-rw-r--r-- | lib/preferences.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/preferences.php b/lib/preferences.php index deb21dde..786e9a38 100644 --- a/lib/preferences.php +++ b/lib/preferences.php @@ -33,7 +33,7 @@ function update_preferences($pref_id=0) { $sql = "SELECT `id`,`name`,`type` FROM `preference`"; /* If it isn't the System Account's preferences */ - if ($pref_id != '-1') { $sql .= " WHERE `type` != 'system'"; } + if ($pref_id != '-1') { $sql .= " WHERE `catagory` != 'system'"; } $db_results = Dba::query($sql); |