From 3c91d6f3fa8695bbd3977bd8030099ed15d5a8d2 Mon Sep 17 00:00:00 2001 From: hickert Date: Fri, 4 Jan 2008 10:37:24 +0000 Subject: [PATCH] Fixed get_all too git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8216 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/include/class_session.inc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gosa-core/include/class_session.inc b/gosa-core/include/class_session.inc index e4c865955..1e96f0c0d 100644 --- a/gosa-core/include/class_session.inc +++ b/gosa-core/include/class_session.inc @@ -41,7 +41,7 @@ class session { $_SESSION[$name] = $value; } - public static function get($name) + public static function &get($name) { $ret = &$_SESSION[$name]; return($ret); @@ -86,7 +86,8 @@ class session { public static function &get_all() { - return($_SESSION); + $ret = &$_SESSION; + return($ret); } } -- 2.30.2