mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 09:03:49 +00:00
Update apps_delete.php
Missing ']' bracket
This commit is contained in:
@@ -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;
|
||||
|
||||
?>
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user