Get rid of the is included which prevents the redirect.
This commit is contained in:
@@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
The Initial Developer of the Original Code is
|
The Initial Developer of the Original Code is
|
||||||
Mark J Crane <markjcrane@fusionpbx.com>
|
Mark J Crane <markjcrane@fusionpbx.com>
|
||||||
Portions created by the Initial Developer are Copyright (C) 2008-2012
|
Portions created by the Initial Developer are Copyright (C) 2008-2014
|
||||||
the Initial Developer. All Rights Reserved.
|
the Initial Developer. All Rights Reserved.
|
||||||
|
|
||||||
Contributor(s):
|
Contributor(s):
|
||||||
@@ -62,10 +62,9 @@
|
|||||||
$_SESSION["template_content"] = '';
|
$_SESSION["template_content"] = '';
|
||||||
|
|
||||||
//redirect
|
//redirect
|
||||||
if (!$included) {
|
//show a message to the user
|
||||||
//show a message to the user
|
$_SESSION["message"] = $text['message-restore'];
|
||||||
$_SESSION["message"] = $text['message-restore'];
|
header("Location: ".PROJECT_PATH."/core/menu/menu_edit.php?id=".$menu_uuid);
|
||||||
header("Location: ".PROJECT_PATH."/core/menu/menu_edit.php?id=".$menu_uuid);
|
return;
|
||||||
return;
|
|
||||||
}
|
|
||||||
?>
|
?>
|
||||||
Reference in New Issue
Block a user