diff options
Diffstat (limited to 'include')
-rwxr-xr-x | include/items.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/items.php b/include/items.php index 3fb1f3cfe..7f96bfb4b 100755 --- a/include/items.php +++ b/include/items.php @@ -4446,6 +4446,12 @@ function zot_feed($uid,$observer_xchan,$arr) { } if($r) { + for($x = 0; $x < count($r); $x ++) { + if(strpos($r[$x]['postopts'],'nodeliver') !== false) { + unset($r[$x]); + } + } + $parents_str = ids_to_querystr($r,'parent'); $sys_query = ((is_sys_channel($uid)) ? $sql_extra : ''); |