summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 5fcf18f)
raw | patch | inline | side by side (parent: 5fcf18f)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 6 Nov 2009 16:25:58 +0000 (16:25 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 6 Nov 2009 16:25:58 +0000 (16:25 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14782 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/goto/admin/groups/apps/class_groupApplication.inc | patch | blob | history |
diff --git a/gosa-plugins/goto/admin/groups/apps/class_groupApplication.inc b/gosa-plugins/goto/admin/groups/apps/class_groupApplication.inc
index a6cb616bb099028804c6dd97c8b49f9a7a642824..9e5b60f79b0962d8426a6e8929d31e9a286c5d9f 100644 (file)
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 ="";