From ea0397b676d2fd13046fadfd488af0ba7711f2d4 Mon Sep 17 00:00:00 2001 From: Michael Vogel Date: Sun, 8 Nov 2015 15:32:16 +0100 Subject: [PATCH] This is a bugfix for pull request 2040 --- include/ostatus.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/ostatus.php b/include/ostatus.php index 736125de55..0dd462d3e1 100644 --- a/include/ostatus.php +++ b/include/ostatus.php @@ -705,8 +705,8 @@ function ostatus_completion($conversation_url, $uid, $item = array()) { $no_of_items = sizeof($items); if (@is_array($conv_as->items)) - foreach ($conv_as->items AS $item) - $items[$item->id] = $item; + foreach ($conv_as->items AS $single_item) + $items[$single_item->id] = $single_item; if ($no_of_items == sizeof($items)) break; -- 2.39.5