aboutsummaryrefslogtreecommitdiffstats
path: root/include/items.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2018-01-02 14:04:43 -0800
committerMario <mario@mariovavti.com>2018-01-07 20:57:35 +0100
commit2f5990962c9f74d354239aea0153700565155232 (patch)
tree76316ca11c914e54d42dd62259a7a9b7c76376ef /include/items.php
parent81ae0fa252de5c27aa9fbb8f72b5e7d5460bd6fa (diff)
downloadvolse-hubzilla-2f5990962c9f74d354239aea0153700565155232.tar.gz
volse-hubzilla-2f5990962c9f74d354239aea0153700565155232.tar.bz2
volse-hubzilla-2f5990962c9f74d354239aea0153700565155232.zip
issues with feed parameters
Diffstat (limited to 'include/items.php')
-rwxr-xr-xinclude/items.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/items.php b/include/items.php
index 722757f87..d0b9cffc9 100755
--- a/include/items.php
+++ b/include/items.php
@@ -4063,8 +4063,9 @@ function items_fetch($arr,$channel = null,$observer_hash = null,$client_mode = C
$item_uids = ' true ';
$item_normal = item_normal();
-
- if ($arr['uid']) $uid= $arr['uid'];
+ if($arr['uid']) {
+ $uid = $arr['uid'];
+ }
if($channel) {
$uid = $channel['channel_id'];
@@ -4226,7 +4227,7 @@ function items_fetch($arr,$channel = null,$observer_hash = null,$client_mode = C
$items = q("SELECT item.*, item.id AS item_id FROM item
WHERE $item_uids $item_restrict
$simple_update
- $sql_extra $sql_nets
+ $sql_extra $sql_nets $sql_extra3
ORDER BY item.received DESC $pager_sql"
);