summaryrefslogtreecommitdiffstats
path: root/lib/preferences.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-08-21 04:35:01 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-08-21 04:35:01 +0000
commit88d968dfaa1cd93185db0e92ed20af0f250aa62a (patch)
tree5dd249eb340c13e0f38e28713b406a47cdaa845b /lib/preferences.php
parent97f2382bc127d66613e6ce7e45eaff548a288b14 (diff)
downloadampache-88d968dfaa1cd93185db0e92ed20af0f250aa62a.tar.gz
ampache-88d968dfaa1cd93185db0e92ed20af0f250aa62a.tar.bz2
ampache-88d968dfaa1cd93185db0e92ed20af0f250aa62a.zip
updated lastfm protocol to 1.2, improved the logic behind it does not require a logout, also fixed duplicate stats collection of greedy players
Diffstat (limited to 'lib/preferences.php')
-rw-r--r--lib/preferences.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/preferences.php b/lib/preferences.php
index e3cd19c3..fe404331 100644
--- a/lib/preferences.php
+++ b/lib/preferences.php
@@ -113,8 +113,8 @@ function update_preferences($pref_id=0) {
$value = validate_bitrate($value);
break;
/* MD5 the LastFM & MyStrands so it's not plainTXT */
- case 'mystrands_pass':
case 'lastfm_pass':
+ case 'mystrands_pass':
/* If it's our default blanking thing then don't use it */
if ($value == '******') { unset($_REQUEST[$name]); break; }
$value = md5($value);