From 57312c41e5a4b577c44784f1225f005f30c152f8 Mon Sep 17 00:00:00 2001 From: cajus Date: Wed, 26 Oct 2005 08:30:26 +0000 Subject: [PATCH] Fixed problem with passing by reference git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1693 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/groups/class_groupAcl.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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])){ -- 2.30.2