Fix: Menu handler choice lost in editor
This commit is contained in:
parent
f98a72771f
commit
58c1fc2791
@ -382,7 +382,8 @@ elseif (isset($_GET["action"]) && $_GET["action"] == 'edit')
|
|||||||
print_titre($langs->trans("ModifMenu"),'','setup');
|
print_titre($langs->trans("ModifMenu"),'','setup');
|
||||||
print '<br>';
|
print '<br>';
|
||||||
|
|
||||||
print '<form action="./edit.php?action=update" method="post" name="formmenuedit">';
|
print '<form action="./edit.php?action=update" method="POST" name="formmenuedit">';
|
||||||
|
print '<input type="hidden" name="handler_origine" value="'.$menu_handler.'">';
|
||||||
|
|
||||||
print '<table class="border" width="100%">';
|
print '<table class="border" width="100%">';
|
||||||
|
|
||||||
|
|||||||
@ -47,7 +47,8 @@ $menu_handler_left=eregi_replace('_frontoffice','',$menu_handler_left);
|
|||||||
|
|
||||||
$menu_handler=$menu_handler_left;
|
$menu_handler=$menu_handler_left;
|
||||||
|
|
||||||
if ($_REQUEST["menu_handler"]) $menu_handler=$_REQUEST["menu_handler"];
|
if ($_REQUEST["handler_origine"]) $menu_handler=$_REQUEST["handler_origine"];
|
||||||
|
if ($_REQUEST["menu_handler"]) $menu_handler=$_REQUEST["menu_handler"];
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user