forked from leftypol/leftypol
permissions bug
This commit is contained in:
parent
6ab3ec5da9
commit
75efb21035
1 changed files with 3 additions and 0 deletions
|
@ -418,6 +418,9 @@
|
|||
else
|
||||
global $mod;
|
||||
|
||||
if(!is_array($mod))
|
||||
return false;
|
||||
|
||||
if(isset($action) && $mod['type'] < $action)
|
||||
return false;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue