mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-05 17:51:40 +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';
|
$menuItem->grant = 'manager';
|
||||||
}
|
}
|
||||||
|
else if($menuItem->group_srls[0] == -4)
|
||||||
|
{
|
||||||
|
$menuItem->grant = 'not_member';
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
$menuItem->grant = 'group';
|
$menuItem->grant = 'group';
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue