summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorPaul Arthur <paul.arthur@flowerysong.com>2013-02-11 16:45:30 -0500
committerPaul Arthur <paul.arthur@flowerysong.com>2013-02-11 17:23:33 -0500
commit5bc48fd3b2035e11b137b660bf17c6878c0f1a86 (patch)
treebc60d6e2828df14404434a453f02266592d1eaad /lib
parent3a8feaeeffe9b96b67ceb49f10295deb088ce4e6 (diff)
downloadampache-5bc48fd3b2035e11b137b660bf17c6878c0f1a86.tar.gz
ampache-5bc48fd3b2035e11b137b660bf17c6878c0f1a86.tar.bz2
ampache-5bc48fd3b2035e11b137b660bf17c6878c0f1a86.zip
Fix xml.server.php after changes to session
It was calling the wrong method in Session, which is entirely my fault. Also, the correct method was broken. Gah.
Diffstat (limited to 'lib')
-rw-r--r--lib/class/session.class.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/class/session.class.php b/lib/class/session.class.php
index a4d3d576..0f6540fc 100644
--- a/lib/class/session.class.php
+++ b/lib/class/session.class.php
@@ -156,7 +156,7 @@ class Session {
* This returns the username associated with a session ID, if any
*/
public static function username($key) {
- return self::_read($key, 'user');
+ return self::_read($key, 'username');
}
/**