From 1a965ea715e43393303ca307f9c8ab7ecfa72d54 Mon Sep 17 00:00:00 2001 From: hickert Date: Fri, 15 Aug 2008 09:10:32 +0000 Subject: [PATCH] Fixed problems with group application menus -New apps couldn't be configured. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12218 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../goto/admin/groups/apps/class_groupApplication.inc | 6 ++++-- 1 file changed, 4 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 ff42dc878..82a4735b0 100644 --- a/gosa-plugins/goto/admin/groups/apps/class_groupApplication.inc +++ b/gosa-plugins/goto/admin/groups/apps/class_groupApplication.inc @@ -568,9 +568,12 @@ class appgroup extends plugin $entry = $this->edit_entry; $r_entry= &$all[$entry['UNIQID']]; + if($entry['TYPE'] == "ENTRY"){ $r_entry['PARAMETER'] = $this->app_parameter; - $r_entry['STATUS'] = "EDITED"; + if($r_entry['STATUS'] != "ADDED"){ + $r_entry['STATUS'] = "EDITED"; + } } if($entry['TYPE'] == "FOLDER"){ $r_entry['ICON'] = $this->edit_entry['ICON']; @@ -1194,7 +1197,6 @@ class appgroup extends plugin $prio = 0; $Actions = array("Remove" => array(),"Edit" => array() , "Add" => array()); - /* Walk through the menu structure and build up the ldap data object, the entry dn and the entry priority. */ -- 2.30.2