]> git.mxchange.org Git - friendica.git/commitdiff
Avoid warnings in addons
authorMichael <heluecht@pirati.ca>
Sun, 8 Jul 2018 12:01:36 +0000 (12:01 +0000)
committerMichael <heluecht@pirati.ca>
Sun, 8 Jul 2018 12:01:36 +0000 (12:01 +0000)
include/conversation.php

index 438019fd01eac21bfb149735ca3049872213dda3..d5ba8a6837bf1e08ca5dc1bf8b75355db9eb24b7 100644 (file)
@@ -721,6 +721,7 @@ function conversation(App $a, $items, $mode, $update, $preview = false, $order =
                                        continue;
                                }
 
+                               $arr = ['item' => $item];
                                Addon::callHooks('display_item', $arr);
 
                                $item['pagedrop'] = $page_dropping;