there was a reason we included that file
This commit is contained in:
parent
9ff988e3d7
commit
3a9139f76e
@ -4389,6 +4389,8 @@ function zot_feed($uid,$observer_hash,$arr) {
|
|||||||
$mindate = null;
|
$mindate = null;
|
||||||
$message_id = null;
|
$message_id = null;
|
||||||
|
|
||||||
|
require_once('include/security.php');
|
||||||
|
|
||||||
if(array_key_exists('mindate',$arr)) {
|
if(array_key_exists('mindate',$arr)) {
|
||||||
$mindate = datetime_convert('UTC','UTC',$arr['mindate']);
|
$mindate = datetime_convert('UTC','UTC',$arr['mindate']);
|
||||||
}
|
}
|
||||||
@ -4411,10 +4413,8 @@ function zot_feed($uid,$observer_hash,$arr) {
|
|||||||
return $result;
|
return $result;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(! is_sys_channel($uid)) {
|
if(! is_sys_channel($uid))
|
||||||
require_once('include/security.php');
|
|
||||||
$sql_extra = item_permissions_sql($uid,$observer_hash);
|
$sql_extra = item_permissions_sql($uid,$observer_hash);
|
||||||
}
|
|
||||||
|
|
||||||
$limit = " LIMIT 100 ";
|
$limit = " LIMIT 100 ";
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user