permissions bug

This commit is contained in:
Michael Save 2012-03-17 14:22:43 +11:00
parent 54bb943a77
commit 69068c84bb

View File

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