From ce7e7634068c3e359e19f54adf65d7001297ba10 Mon Sep 17 00:00:00 2001 From: cajus Date: Fri, 6 Nov 2009 16:25:58 +0000 Subject: [PATCH] Added dn ic conversation git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14782 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../goto/admin/groups/apps/class_groupApplication.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gosa-plugins/goto/admin/groups/apps/class_groupApplication.inc b/gosa-plugins/goto/admin/groups/apps/class_groupApplication.inc index a6cb616bb..9e5b60f79 100644 --- a/gosa-plugins/goto/admin/groups/apps/class_groupApplication.inc +++ b/gosa-plugins/goto/admin/groups/apps/class_groupApplication.inc @@ -154,12 +154,12 @@ class appgroup extends plugin department release. */ foreach($res as $attrs){ - if(preg_match("/".get_ou('applicationRDN')."/",$attrs['dn'])){ + if(preg_match("/".get_ou('applicationRDN')."/i",$attrs['dn'])){ /* Parse all returned departments dns into a useable type. (ou=1.0.0,ou=halut,ou=apps ==> halue/1.0.0) */ - $bb = preg_replace("/".get_ou('applicationRDN').".*/","",$attrs['dn']); + $bb = preg_replace("/".preg_quote(get_ou('applicationRDN'), '/').".*/i","",$attrs['dn']); $parts = array_reverse(split("ou=",$bb)); $str =""; -- 2.30.2