permissions bug

This commit is contained in:
Michael Save 2012-03-17 14:22:43 +11:00
parent 6ab3ec5da9
commit 75efb21035

View File

@ -418,6 +418,9 @@
else
global $mod;
if(!is_array($mod))
return false;
if(isset($action) && $mod['type'] < $action)
return false;