aboutsummaryrefslogtreecommitdiffstats
path: root/include/items.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-03-26 20:22:57 -0700
committerfriendica <info@friendica.com>2014-03-26 20:22:57 -0700
commita00c581e272af71eb064a1a29edd3334d9148d9d (patch)
tree2e1a715fe2dcbdf83d97d3afa6261435a1217ba1 /include/items.php
parent20717e34162d3759408fd5300548fc4cfa1b2263 (diff)
downloadvolse-hubzilla-a00c581e272af71eb064a1a29edd3334d9148d9d.tar.gz
volse-hubzilla-a00c581e272af71eb064a1a29edd3334d9148d9d.tar.bz2
volse-hubzilla-a00c581e272af71eb064a1a29edd3334d9148d9d.zip
need include
Diffstat (limited to 'include/items.php')
-rwxr-xr-xinclude/items.php2
1 files changed, 2 insertions, 0 deletions
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)