From 5bc48fd3b2035e11b137b660bf17c6878c0f1a86 Mon Sep 17 00:00:00 2001 From: Paul Arthur Date: Mon, 11 Feb 2013 16:45:30 -0500 Subject: 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. --- lib/class/session.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/class') 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'); } /** -- cgit