Code

Fixed get_all too
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 4 Jan 2008 10:37:24 +0000 (10:37 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 4 Jan 2008 10:37:24 +0000 (10:37 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8216 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/include/class_session.inc

index e4c8659551a02b9d85568b52980b0f4922ecd424..1e96f0c0dd0141a9ccb55adaccf727768ee85b1b 100644 (file)
@@ -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);
        }
 }