mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-14 00:39:57 +09:00
if shortcut_target is empty, create shortcut also
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12131 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
3d7d205638
commit
0d282bd1d6
1 changed files with 5 additions and 1 deletions
|
|
@ -291,9 +291,13 @@
|
|||
$args->parent_srl = $request->parent_srl;
|
||||
$args->is_shortcut = $request->is_shortcut;
|
||||
}
|
||||
// empty target shortcut
|
||||
else
|
||||
{
|
||||
return new Object(-1, 'msg_invalid_request');
|
||||
$args->menu_srl = $request->menu_srl;
|
||||
$args->name = $request->menu_name;
|
||||
$args->parent_srl = $request->parent_srl;
|
||||
$args->is_shortcut = $request->is_shortcut;
|
||||
}
|
||||
|
||||
$args->menu_item_srl = getNextSequence();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue