Skip to content

Commit

Permalink
Update edit.php
Browse files Browse the repository at this point in the history
allow cherry-pick of a sub-menu by changing its parent identifier
  • Loading branch information
bafbes committed Dec 20, 2015
1 parent f0802eb commit 4f4c6d9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion htdocs/admin/menus/edit.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@
$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)
{
Expand Down Expand Up @@ -415,7 +416,7 @@ function init_topleft()
print '<tr><td class="fieldrequired">'.$langs->trans('Type').'</td><td>'.$langs->trans(ucfirst($menu->type)).'</td><td>'.$langs->trans('DetailType').'</td></tr>';

// MenuId Parent
print '<tr><td class="fieldrequired">'.$langs->trans('MenuIdParent').'</td>';
print '<td><input type="text" name="fk_menu" value="'.$menu->fk_menu.'" size=10></td>';
//$menu_handler
//print '<td><input type="text" size="50" name="handler" value="all"></td>';
print '<td>'.$menu->fk_menu.'</td>';
Expand Down

0 comments on commit 4f4c6d9

Please sign in to comment.