From: Michael Vogel Date: Sun, 8 Nov 2015 14:32:16 +0000 (+0100) Subject: This is a bugfix for pull request 2040 X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=ea0397b676d2fd13046fadfd488af0ba7711f2d4;p=friendica.git This is a bugfix for pull request 2040 --- 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;