]> git.mxchange.org Git - friendica.git/commitdiff
This is a bugfix for pull request 2040
authorMichael Vogel <icarus@dabo.de>
Sun, 8 Nov 2015 14:32:16 +0000 (15:32 +0100)
committerMichael Vogel <icarus@dabo.de>
Sun, 8 Nov 2015 14:32:16 +0000 (15:32 +0100)
include/ostatus.php

index 736125de553e9991fc6e273ce3f2a4fd408ffaa4..0dd462d3e16a4aa9c435dc331e6c7b99f5b3ae75 100644 (file)
@@ -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;