mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
Upgrade - Menu & Permission Defaults: Mitigate PHP 8.x warnings.
This commit is contained in:
@@ -68,7 +68,9 @@
|
||||
//redirect
|
||||
if(!defined('STDIN')) {
|
||||
//show a message to the user
|
||||
message::add($text['message-restore']);
|
||||
if (empty($included) || !$included) {
|
||||
message::add($text['message-restore']);
|
||||
}
|
||||
header("Location: ".PROJECT_PATH."/core/menu/menu_edit.php?id=".urlencode($menu_uuid));
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user