diff options
| author | Michael Save <savetheinternet@tinyboard.org> | 2012-03-17 14:22:43 +1100 |
|---|---|---|
| committer | Michael Save <savetheinternet@tinyboard.org> | 2012-03-17 14:22:43 +1100 |
| commit | 75efb21035ecf3236edaa39ac8f357b7393f7250 (patch) | |
| tree | 7481dd6d9f113b8b4e1409207337186eec031798 /inc/functions.php | |
| parent | 6ab3ec5da9f52f1061fb68bc91f8cc58903d86f5 (diff) | |
permissions bug
Diffstat (limited to 'inc/functions.php')
| -rw-r--r-- | inc/functions.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/inc/functions.php b/inc/functions.php index 9eeef682..39420402 100644 --- a/inc/functions.php +++ b/inc/functions.php @@ -418,6 +418,9 @@ else global $mod; + if(!is_array($mod)) + return false; + if(isset($action) && $mod['type'] < $action) return false; |
