]> git.mxchange.org Git - friendica.git/blobdiff - include/conversation.php
Correctly initialize post actions button template variable
[friendica.git] / include / conversation.php
index 3707962576af422c2e84431b444c8e1ea200cb16..7d0ec0b724566c72d003aa392946a605956c5c70 100644 (file)
@@ -673,7 +673,11 @@ function conversation(App $a, array $items, Pager $pager, $mode, $update, $previ
                                $isstarred = "unstarred";
 
                                $lock = false;
-                               $likebuttons = false;
+                               $likebuttons = [
+                                       'like'    => null,
+                                       'dislike' => null,
+                                       'share'   => null,
+                               ];
 
                                $body = Item::prepareBody($item, true, $preview);