Code

Fixed problem with passing by reference
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 26 Oct 2005 08:30:26 +0000 (08:30 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 26 Oct 2005 08:30:26 +0000 (08:30 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1693 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/groups/class_groupAcl.inc

index cc5c435823d6421c55c76a864dc77c2e871c5e75..46c4a856b9c6c98921a10a83ee3ad5e6517d03a5 100644 (file)
@@ -32,7 +32,8 @@ class acl extends plugin
        /* WorkAround */
        include "acl_definition.inc";
        $this->objects= $ACLD;
-       $this->object= reset(array_keys($this->objects));
+       $tmp= array_keys($this->objects);
+       $this->object= reset($tmp);
 
        $this->selfflag= FALSE;
        if (isset($this->attrs['gosaSubtreeACL'][0])){