mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-17 09:24:17 +09:00
NOISSUE code rearrange
This commit is contained in:
parent
b146e48ff5
commit
bc47f19615
22 changed files with 130 additions and 159 deletions
|
|
@ -877,8 +877,8 @@ class moduleModel extends module
|
|||
}
|
||||
if(is_array($info->menu->{$action->attrs->menu_name}->acts))
|
||||
{
|
||||
@array_push($info->menu->{$action->attrs->menu_name}->acts, $name);
|
||||
$currentKey = @array_search($name, $info->menu->{$action->attrs->menu_name}->acts);
|
||||
$info->menu->{$action->attrs->menu_name}->acts[] = $name;
|
||||
$currentKey = array_search($name, $info->menu->{$action->attrs->menu_name}->acts);
|
||||
}
|
||||
|
||||
$buff[] = sprintf('$info->menu->%s->acts[%d]=\'%s\';', $action->attrs->menu_name, $currentKey, $name);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue