aboutsummaryrefslogtreecommitdiffstats
path: root/boot.php
diff options
context:
space:
mode:
authorMike Macgirvin <mike@macgirvin.com>2010-08-09 22:58:58 -0700
committerMike Macgirvin <mike@macgirvin.com>2010-08-09 22:58:58 -0700
commit6fa55579948f0d6fa12a301ddd33baae49240a73 (patch)
treec87a5550be5ab64462f944ace4a8a2adfc345aa8 /boot.php
parentd11c1c63c02e88b3c73336741a2240ccc18d3b02 (diff)
downloadvolse-hubzilla-6fa55579948f0d6fa12a301ddd33baae49240a73.tar.gz
volse-hubzilla-6fa55579948f0d6fa12a301ddd33baae49240a73.tar.bz2
volse-hubzilla-6fa55579948f0d6fa12a301ddd33baae49240a73.zip
post branch fixes
Diffstat (limited to 'boot.php')
-rw-r--r--boot.php5
1 files changed, 4 insertions, 1 deletions
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);
}}