From a00c581e272af71eb064a1a29edd3334d9148d9d Mon Sep 17 00:00:00 2001 From: friendica Date: Wed, 26 Mar 2014 20:22:57 -0700 Subject: need include --- include/items.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/items.php') diff --git a/include/items.php b/include/items.php index e858955b6..cd86918d6 100755 --- a/include/items.php +++ b/include/items.php @@ -3766,6 +3766,8 @@ function zot_feed($uid,$observer_xchan,$mindate) { $items = array(); if(is_sys_channel($uid)) { + + require_once('include/security.php'); $r = q("SELECT item.*, item.id as item_id from item WHERE uid in (" . stream_perms_api_uids(PERMS_PUBLIC) . ") AND item_restrict = 0 and id = parent AND (item_flags & %d) -- cgit v1.2.3