Update menu_item_edit.php
This commit is contained in:
parent
3d0fbc1690
commit
7590415cea
|
|
@ -59,7 +59,7 @@
|
||||||
unset($array);
|
unset($array);
|
||||||
//redirect the browser
|
//redirect the browser
|
||||||
message::add($text['message-delete']);
|
message::add($text['message-delete']);
|
||||||
header("Location: menu_item_edit.php?id=".$menu_uuid."&menu_item_uuid=".$menu_item_uuid."&menu_uuid=".$menu_uuid);
|
header("Location: menu_item_edit.php?id=".urlencode($menu_uuid)."&menu_item_uuid=".urlencode($menu_item_uuid)."&menu_uuid=".urlencode($menu_uuid));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -72,10 +72,6 @@
|
||||||
$action = "add";
|
$action = "add";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
//clear the menu session so it will rebuild with the update
|
|
||||||
$_SESSION["menu"] = "";
|
|
||||||
|
|
||||||
//get the HTTP POST variables and set them as PHP variables
|
//get the HTTP POST variables and set them as PHP variables
|
||||||
if (count($_POST) > 0) {
|
if (count($_POST) > 0) {
|
||||||
$menu_uuid = $_POST["menu_uuid"];
|
$menu_uuid = $_POST["menu_uuid"];
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue