From: cajus Date: Fri, 6 Nov 2009 16:25:58 +0000 (+0000) Subject: Added dn ic conversation X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=ce7e7634068c3e359e19f54adf65d7001297ba10;p=gosa.git Added dn ic conversation git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14782 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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 ="";