post branch fixes

This commit is contained in:
Mike Macgirvin 2010-08-09 22:58:58 -07:00
parent d11c1c63c0
commit 6fa5557994
7 changed files with 38 additions and 11 deletions

View file

@ -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);
}}