summaryrefslogtreecommitdiffstats
path: root/lib/class/scrobbler.class.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/class/scrobbler.class.php')
-rw-r--r--lib/class/scrobbler.class.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/class/scrobbler.class.php b/lib/class/scrobbler.class.php
index 8b8ca5a7..ad379940 100644
--- a/lib/class/scrobbler.class.php
+++ b/lib/class/scrobbler.class.php
@@ -112,16 +112,16 @@ class scrobbler {
}
if(preg_match('/http:\/\/(.*):(\d+)(.*)/', $response[2], $matches)) {
- $_SESSION['state']['lastfm']['submit_host'] = $matches[1];
- $_SESSION['state']['lastfm']['submit_port'] = $matches[2];
- $_SESSION['state']['lastfm']['submit_url'] = $matches[3];
+ $data['submit_host'] = $matches[1];
+ $data['submit_port'] = $matches[2];
+ $data['submit_url'] = $matches[3];
} else {
$this->error_msg = 'Invalid POST URL returned, unable to continue';
return false;
}
$this->challenge = $response[1];
- return true;
+ return $data;
} // handshake