From 94755882011e750af2bfd57577b66dbc6c13595a Mon Sep 17 00:00:00 2001 From: cajus Date: Wed, 29 Oct 2008 13:08:37 +0000 Subject: [PATCH] Fixed parameter saving git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12804 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-plugins/goto/admin/groups/apps/class_groupApplication.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gosa-plugins/goto/admin/groups/apps/class_groupApplication.inc b/gosa-plugins/goto/admin/groups/apps/class_groupApplication.inc index e358b7fda..f69fe1789 100644 --- a/gosa-plugins/goto/admin/groups/apps/class_groupApplication.inc +++ b/gosa-plugins/goto/admin/groups/apps/class_groupApplication.inc @@ -326,7 +326,7 @@ class appgroup extends plugin for($p = 0 ; $p < $attrs['gosaApplicationParameter']['count'] ; $p ++){ if(preg_match("/:/",$attrs['gosaApplicationParameter'][$p])){ $tmp = split(":",$attrs['gosaApplicationParameter'][$p]); - $data['PARAMETER'][$tmp[0]] = $tmp[1]; + $data['PARAMETER'][$tmp[0]] = preg_replace('/^[^:]+:/', '', $attrs['gosaApplicationParameter'][$p]); }elseif($attrs['gosaApplicationParameter'][$p] == "*separator*"){ $type = "SEPERATOR"; $data['PARAMETER'] = array(); -- 2.30.2