diff options
Diffstat (limited to 'boot.php')
-rw-r--r-- | boot.php | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -504,5 +504,8 @@ function expand_acl($s) { if(! function_exists('sanitise_acl')) { function sanitise_acl(&$item) { - $item = '<' . intval(notags(trim($item))) . '>'; + if(intval($item)) + $item = '<' . intval(notags(trim($item))) . '>'; + else + unset($item); }} |