summaryrefslogtreecommitdiffstats
path: root/lib/class/update.class.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-02-10 20:41:38 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-02-10 20:41:38 +0000
commitd407773cb2ab492d4d4f4814d3566737a5ccfb4a (patch)
treee7d4cb166ef1eb5fcc0101da3385c3d2702ba598 /lib/class/update.class.php
parentbdd6c2acd42b11f489ee6fd572d22d2e49843a79 (diff)
downloadampache-d407773cb2ab492d4d4f4814d3566737a5ccfb4a.tar.gz
ampache-d407773cb2ab492d4d4f4814d3566737a5ccfb4a.tar.bz2
ampache-d407773cb2ab492d4d4f4814d3566737a5ccfb4a.zip
fixed democratic play vote order and user preferences update
Diffstat (limited to 'lib/class/update.class.php')
-rw-r--r--lib/class/update.class.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/class/update.class.php b/lib/class/update.class.php
index c2dd6c5f..9471eb71 100644
--- a/lib/class/update.class.php
+++ b/lib/class/update.class.php
@@ -2218,7 +2218,7 @@ class Update {
$db_results = mysql_query($sql,dbh());
// Now pull the access list users, alter table and then re-insert
- $sql = "SELETE DISTINCT(`user`) FROM `access_list`";
+ $sql = "SELECT DISTINCT(`user`) FROM `access_list`";
$db_results = mysql_query($sql,dbh());
while ($r = mysql_fetch_assoc($db_results)) {