mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-07 11:02:17 +09:00
Merge pull request #1767 from YJSoft/patch-5
Fix #1766 상위 메뉴를 자기 자신으로 설정할수 없도록 수정
This commit is contained in:
commit
a4490e6709
1 changed files with 1 additions and 0 deletions
|
|
@ -1460,6 +1460,7 @@ class menuAdminController extends menu
|
|||
|
||||
$target_item = $oMenuAdminModel->getMenuItemInfo($target_srl);
|
||||
if($target_item->menu_item_srl != $target_srl) throw new Rhymix\Framework\Exceptions\InvalidRequest;
|
||||
if($target_srl == $parent_srl) throw new Rhymix\Framework\Exceptions\InvalidRequest;
|
||||
// Move the menu location(change the order menu appears)
|
||||
if($mode == 'move')
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue