This is a bugfix for pull request 2040
This commit is contained in:
parent
c2beab0d56
commit
ea0397b676
1 changed files with 2 additions and 2 deletions
|
@ -705,8 +705,8 @@ function ostatus_completion($conversation_url, $uid, $item = array()) {
|
||||||
$no_of_items = sizeof($items);
|
$no_of_items = sizeof($items);
|
||||||
|
|
||||||
if (@is_array($conv_as->items))
|
if (@is_array($conv_as->items))
|
||||||
foreach ($conv_as->items AS $item)
|
foreach ($conv_as->items AS $single_item)
|
||||||
$items[$item->id] = $item;
|
$items[$single_item->id] = $single_item;
|
||||||
|
|
||||||
if ($no_of_items == sizeof($items))
|
if ($no_of_items == sizeof($items))
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue