aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/text.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/text.php b/include/text.php
index 5dff3c9a3..3ca0b3b6d 100644
--- a/include/text.php
+++ b/include/text.php
@@ -331,7 +331,7 @@ function expand_acl($s) {
if(! function_exists('sanitise_acl')) {
function sanitise_acl(&$item) {
- if(intval($item))
+ if(strlen($item))
$item = '<' . notags(trim($item)) . '>';
else
unset($item);