From 6fa55579948f0d6fa12a301ddd33baae49240a73 Mon Sep 17 00:00:00 2001 From: Mike Macgirvin Date: Mon, 9 Aug 2010 22:58:58 -0700 Subject: post branch fixes --- boot.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'boot.php') diff --git a/boot.php b/boot.php index e70e2bf6b..afb907d59 100644 --- a/boot.php +++ b/boot.php @@ -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); }} -- cgit v1.2.3