From c2171bf45063547e4a599583fe538f9ebd4cc65a Mon Sep 17 00:00:00 2001 From: frytimo Date: Fri, 30 Aug 2019 16:12:08 -0400 Subject: [PATCH] Update apps_delete.php Missing ']' bracket --- core/apps/apps_delete.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/apps/apps_delete.php b/core/apps/apps_delete.php index 3440b1c75c..da527fb862 100644 --- a/core/apps/apps_delete.php +++ b/core/apps/apps_delete.php @@ -59,7 +59,7 @@ else { foreach ($row['menu'] as $index => &$menu) { //delete menu groups and permissions from the database $array['menu_item_groups'][$index]['menu_item_uuid'] = $menu['uuid']; - $array['menu_items'][$index['menu_item_uuid'] = $menu['uuid']; + $array['menu_items'][$index]['menu_item_uuid'] = $menu['uuid']; //delete the app from the file system if (strlen($menu['path']) > 0) { system('rm -rf '.dirname($_SERVER["DOCUMENT_ROOT"].PROJECT_PATH.$menu['path'])); @@ -98,4 +98,4 @@ else { header("Location: apps.php"); return; -?> \ No newline at end of file +?>