summaryrefslogtreecommitdiffstats
path: root/lib/class/vauth.class.php
diff options
context:
space:
mode:
authorPaul Arthur <paul.arthur@flowerysong.com>2011-10-14 17:08:41 -0400
committerPaul Arthur <paul.arthur@flowerysong.com>2011-10-14 17:08:41 -0400
commit3c347c0a7ff380006e8cf2e6c59301a23fbfa709 (patch)
treed1a434f77c3fb8aee30da5a7180fae81f45b5026 /lib/class/vauth.class.php
parent479c4a3472ef9df01993ef60e7fdde01a67b63c9 (diff)
downloadampache-3c347c0a7ff380006e8cf2e6c59301a23fbfa709.tar.gz
ampache-3c347c0a7ff380006e8cf2e6c59301a23fbfa709.tar.bz2
ampache-3c347c0a7ff380006e8cf2e6c59301a23fbfa709.zip
Fix custom session handle to comply with PHP spec
read must always return a string.
Diffstat (limited to 'lib/class/vauth.class.php')
-rw-r--r--lib/class/vauth.class.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/class/vauth.class.php b/lib/class/vauth.class.php
index 92b00a6f..e8769080 100644
--- a/lib/class/vauth.class.php
+++ b/lib/class/vauth.class.php
@@ -84,7 +84,7 @@ class vauth {
if (!is_array($results)) {
debug_event('SESSION', 'Error unable to read session from key ' . $key . ' no data found', '1');
- return false;
+ return '';
}
return $results['value'];