summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorxgizzmo <xgizzmo@ampache>2007-03-05 23:37:55 +0000
committerxgizzmo <xgizzmo@ampache>2007-03-05 23:37:55 +0000
commit486be50eb56ade00989c31704a0f637d453a8b0c (patch)
treeb42e06d28f38f8017d82a8495577efaf320b4870 /lib
parentdec762fe5d70ff85a4de4f26c25bfb4a53811805 (diff)
downloadampache-486be50eb56ade00989c31704a0f637d453a8b0c.tar.gz
ampache-486be50eb56ade00989c31704a0f637d453a8b0c.tar.bz2
ampache-486be50eb56ade00989c31704a0f637d453a8b0c.zip
fixed minor typo (Thanks GrinningArmor)
Diffstat (limited to 'lib')
-rw-r--r--lib/preferences.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/preferences.php b/lib/preferences.php
index ffaad2b1..76e06fc6 100644
--- a/lib/preferences.php
+++ b/lib/preferences.php
@@ -167,7 +167,7 @@ function update_preference($username,$name,$pref_id,$value) {
/* Else make sure that the current users has the right to do this */
if (has_preference_access($name)) {
$sql = "UPDATE user_preference SET `value`='$value' WHERE preference='$pref_id' AND user='$username'";
- $db_resutls = mysql_query($sql, dbh());
+ $db_results = mysql_query($sql, dbh());
return true;
}