mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
Fix not_member granted menu showing up as group restricted
This commit is contained in:
parent
c949e797b0
commit
b15fc8deb3
1 changed files with 4 additions and 0 deletions
|
|
@ -216,6 +216,10 @@ class MenuAdminModel extends Menu
|
|||
{
|
||||
$menuItem->grant = 'manager';
|
||||
}
|
||||
else if($menuItem->group_srls[0] == -4)
|
||||
{
|
||||
$menuItem->grant = 'not_member';
|
||||
}
|
||||
else
|
||||
{
|
||||
$menuItem->grant = 'group';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue