summaryrefslogtreecommitdiffstats
path: root/lib/class/user.class.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2009-05-18 18:23:20 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2009-05-18 18:23:20 +0000
commit4a1d7a40ea786526f2f78141451b13ec5e5f90fb (patch)
tree70367e9e51b809722b30d442481543ae746e1aff /lib/class/user.class.php
parent9dd2cb89c20c2cef664ce5641f4427a371284de2 (diff)
downloadampache-4a1d7a40ea786526f2f78141451b13ec5e5f90fb.tar.gz
ampache-4a1d7a40ea786526f2f78141451b13ec5e5f90fb.tar.bz2
ampache-4a1d7a40ea786526f2f78141451b13ec5e5f90fb.zip
fix the message parsing so that it accepts libre.fms slightly different response
Diffstat (limited to 'lib/class/user.class.php')
-rw-r--r--lib/class/user.class.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/class/user.class.php b/lib/class/user.class.php
index 0b5f6c44..73e23a51 100644
--- a/lib/class/user.class.php
+++ b/lib/class/user.class.php
@@ -564,8 +564,8 @@ class User extends database_object {
// Check and see if librefm is loaded and run scrobblizing
if (Plugin::is_installed('Libre.FM')) {
$librefm = new Plugin('Librefm');
- if ($lastfm->_plugin->load($this->prefs,$this->id)) {
- $lastfm->_plugin->submit($song_info,$this->id);
+ if ($librefm->_plugin->load($this->prefs,$this->id)) {
+ $librefm->_plugin->submit($song_info,$this->id);
}
} // end if is_installed