if ($update) {
- $r = q("SELECT distinct(parent) AS `item_id`, `item`.`network` AS `item_network`
+ $r = q("SELECT distinct(parent) AS `item_id`, `item`.`network` AS `item_network`, `item`.`created`
FROM `item` INNER JOIN `contact` ON `contact`.`id` = `item`.`contact-id`
AND `contact`.`blocked` = 0 AND `contact`.`pending` = 0
WHERE `item`.`uid` = %d AND `item`.`visible` = 1 AND
);
}
- $o .= conversation($a,$items,'profile',$update);
+ $o .= conversation($a, $items, 'profile', $update);
if (!$update) {
- $o .= alt_pager($a,count($items));
+ $o .= alt_pager($a, count($items));
}
return $o;