From: cajus Date: Wed, 26 Oct 2005 08:30:26 +0000 (+0000) Subject: Fixed problem with passing by reference X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=57312c41e5a4b577c44784f1225f005f30c152f8;p=gosa.git Fixed problem with passing by reference git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1693 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/groups/class_groupAcl.inc b/plugins/admin/groups/class_groupAcl.inc index cc5c43582..46c4a856b 100644 --- a/plugins/admin/groups/class_groupAcl.inc +++ b/plugins/admin/groups/class_groupAcl.inc @@ -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])){