From 4f4c6d904ef03cf03c54fd84519be5107062915b Mon Sep 17 00:00:00 2001 From: Bahfir Abbes Date: Sun, 20 Dec 2015 13:37:46 +0100 Subject: [PATCH] Update edit.php allow cherry-pick of a sub-menu by changing its parent identifier --- htdocs/admin/menus/edit.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/htdocs/admin/menus/edit.php b/htdocs/admin/menus/edit.php index f4f1bbb96bf..60fc9758987 100644 --- a/htdocs/admin/menus/edit.php +++ b/htdocs/admin/menus/edit.php @@ -75,6 +75,7 @@ if ($action == 'update') $menu->perms=$_POST['perms']; $menu->target=$_POST['target']; $menu->user=$_POST['user']; + $menu->fk_menu=$_POST['fk_menu']; $result=$menu->update($user); if ($result > 0) { @@ -415,7 +416,7 @@ elseif ($action == 'edit') print ''.$langs->trans('Type').''.$langs->trans(ucfirst($menu->type)).''.$langs->trans('DetailType').''; // MenuId Parent - print ''.$langs->trans('MenuIdParent').''; + print ''; //$menu_handler //print ''; print ''.$menu->fk_menu.'';