From c5d18e41bea8585a26f8140a4a3159e8e9c0aaf0 Mon Sep 17 00:00:00 2001 From: Mark Crane Date: Sat, 27 Dec 2014 18:20:30 +0000 Subject: [PATCH] Get rid of the is included which prevents the redirect. --- core/menu/menu_restore_default.php | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/core/menu/menu_restore_default.php b/core/menu/menu_restore_default.php index 85f27971bc..dadcf5c089 100644 --- a/core/menu/menu_restore_default.php +++ b/core/menu/menu_restore_default.php @@ -17,7 +17,7 @@ The Initial Developer of the Original Code is Mark J Crane - 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. Contributor(s): @@ -62,10 +62,9 @@ $_SESSION["template_content"] = ''; //redirect - if (!$included) { - //show a message to the user - $_SESSION["message"] = $text['message-restore']; - header("Location: ".PROJECT_PATH."/core/menu/menu_edit.php?id=".$menu_uuid); - return; - } + //show a message to the user + $_SESSION["message"] = $text['message-restore']; + header("Location: ".PROJECT_PATH."/core/menu/menu_edit.php?id=".$menu_uuid); + return; + ?> \ No newline at end of file