From 2452b822f909a3cac432a76d8c928733a7683c6a Mon Sep 17 00:00:00 2001 From: friendica Date: Fri, 7 Dec 2012 14:18:10 -0800 Subject: permissions should now be stored correctly on posting --- include/text.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/text.php') 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); -- cgit v1.2.3