aboutsummaryrefslogtreecommitdiffstats
path: root/include/api.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/api.php')
-rw-r--r--include/api.php17
1 files changed, 13 insertions, 4 deletions
diff --git a/include/api.php b/include/api.php
index 3ab0aad27..8ceae7787 100644
--- a/include/api.php
+++ b/include/api.php
@@ -1263,15 +1263,24 @@ require_once('include/items.php');
// intval($since_id),
// intval($start), intval($count)
// );
-
+ if ($user_info['self']==1) {
$r = items_fetch(array(
'uid' => api_user(),
'cid' => $user_info['id'],
'since_id' => $since_id,
'start' => $start,
- 'records' => $count));
-
-
+ 'records' => $count,
+ 'wall' => 1));
+ }
+ else {
+ $r = items_fetch(array(
+ 'uid' => api_user(),
+ 'cid' => $user_info['id'],
+ 'since_id' => $since_id,
+ 'start' => $start,
+ 'records' => $count));
+ }
+
$ret = api_format_items($r,$user_info);