Merge pull request #2047 from annando/1511-ostatus-warning

This is a bugfix for pull request 2040
This commit is contained in:
Tobias Diekershoff 2015-11-08 15:43:53 +01:00
commit d9e56e0450

View 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;