From: hickert Date: Mon, 18 Feb 2008 10:19:02 +0000 (+0000) Subject: Updated group Applications. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=8b6e8928a4945b6d9905f1aa425253a85fb34afe;p=gosa.git Updated group Applications. -Fixed sorting errors git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8943 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 c2e57e4e3..03613b725 100644 --- a/gosa-plugins/goto/admin/groups/apps/class_groupApplication.inc +++ b/gosa-plugins/goto/admin/groups/apps/class_groupApplication.inc @@ -817,6 +817,7 @@ class appgroup extends plugin $all = $this->_get_all_entries(); if(isset($all[$id])){ $all[$id]['STATUS'] = "REMOVED"; + $all[$id]['ENTRIES'] = array(); return(TRUE); } return(FALSE); @@ -838,8 +839,13 @@ class appgroup extends plugin if(isset($all[$folder_id])){ + if(!isset($entry['ENTRIES'])){ + $entries = array(); + }else{ + $entries = $entry['ENTRIES']; + } + $folder = &$all[$folder_id]; - $entries = $entry['ENTRIES']; $entry['UNIQID'] = uniqid(); $entry['PARENT'] = $folder_id;