aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-12-07 14:18:10 -0800
committerfriendica <info@friendica.com>2012-12-07 14:18:10 -0800
commit2452b822f909a3cac432a76d8c928733a7683c6a (patch)
treebadcde5b1aa0c3ac0b4e6cfab3dcda701212cc8b /include
parent1079c10fa49326e2396685577a4d31faeb174625 (diff)
downloadvolse-hubzilla-2452b822f909a3cac432a76d8c928733a7683c6a.tar.gz
volse-hubzilla-2452b822f909a3cac432a76d8c928733a7683c6a.tar.bz2
volse-hubzilla-2452b822f909a3cac432a76d8c928733a7683c6a.zip
permissions should now be stored correctly on posting
Diffstat (limited to 'include')
-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);