From 3a9139f76ee64b49c7902269cb3d98f6a6e20230 Mon Sep 17 00:00:00 2001 From: redmatrix Date: Thu, 28 May 2015 22:06:22 -0700 Subject: there was a reason we included that file --- include/items.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include/items.php') diff --git a/include/items.php b/include/items.php index 71d4213b7..aa052b307 100755 --- a/include/items.php +++ b/include/items.php @@ -4389,6 +4389,8 @@ function zot_feed($uid,$observer_hash,$arr) { $mindate = null; $message_id = null; + require_once('include/security.php'); + if(array_key_exists('mindate',$arr)) { $mindate = datetime_convert('UTC','UTC',$arr['mindate']); } @@ -4411,10 +4413,8 @@ function zot_feed($uid,$observer_hash,$arr) { return $result; } - if(! is_sys_channel($uid)) { - require_once('include/security.php'); + if(! is_sys_channel($uid)) $sql_extra = item_permissions_sql($uid,$observer_hash); - } $limit = " LIMIT 100 "; -- cgit v1.2.3