Update apps_delete.php

Missing ']' bracket
This commit is contained in:
frytimo 2019-08-30 16:12:08 -04:00 committed by GitHub
parent 970a5094cb
commit c2171bf450
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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;
?>
?>