From: hickert Date: Fri, 4 Jan 2008 10:37:24 +0000 (+0000) Subject: Fixed get_all too X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=3c91d6f3fa8695bbd3977bd8030099ed15d5a8d2;p=gosa.git Fixed get_all too git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8216 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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); } }