summaryrefslogtreecommitdiffstats
path: root/modules/vauth
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2006-04-08 05:58:05 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2006-04-08 05:58:05 +0000
commit2b55e30467f5ccdf9324b0377c419c5681f4c215 (patch)
tree16c2f63178ff762a673face6abb7fe584b680b36 /modules/vauth
parent941afedab85ffd77a83188ca09a888e0603fae72 (diff)
downloadampache-2b55e30467f5ccdf9324b0377c419c5681f4c215.tar.gz
ampache-2b55e30467f5ccdf9324b0377c419c5681f4c215.tar.bz2
ampache-2b55e30467f5ccdf9324b0377c419c5681f4c215.zip
This update includes a full rewrite of the Localplay code, only update
to this version if you don't care about losing a lot of functionality while I am still finishing it up. Also the only working localplay method is currently MPD. UPDATE AT YOUR OWN RISK!
Diffstat (limited to 'modules/vauth')
-rw-r--r--modules/vauth/session.lib.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/vauth/session.lib.php b/modules/vauth/session.lib.php
index 18006dc1..9c30e1bc 100644
--- a/modules/vauth/session.lib.php
+++ b/modules/vauth/session.lib.php
@@ -66,7 +66,7 @@ function vauth_sess_close() {
function vauth_sess_read($key) {
$results = vauth_get_session($key);
- if (!is_array($results)) {
+ if (isset($results['value']) AND strlen($results['value']) < 1) {
vauth_error('Unable to read session data');
return '';
}