From c0ac096412a068e4e1233cb4b09fd80a25f0dd5a Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 26 Oct 2006 04:17:02 +0000 Subject: [PATCH] Replaced group ou with get_groups_ou function git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@4940 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/personal/generic/class_user.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/personal/generic/class_user.inc b/plugins/personal/generic/class_user.inc index 1d758a2f6..2c546dfab 100644 --- a/plugins/personal/generic/class_user.inc +++ b/plugins/personal/generic/class_user.inc @@ -1204,7 +1204,7 @@ class user extends plugin foreach($attrs['gosaSubtreeACL'] as $attr){ if((preg_match("/:user#/",$attr))||(preg_match("/:all/",$attr))){ - $s = preg_replace("/^.*ou=groups,/","",$attrs['dn']); + $s = preg_replace("/^.*".get_groups_ou().",/","",$attrs['dn']); foreach($this->config->idepartments as $key => $dep) { if(preg_match("/".$s."/i",$key)){ -- 2.30.2