Correctly initialize post actions button template variable

- Address https://github.com/friendica/friendica/issues/7999#issuecomment-586020764
This commit is contained in:
Hypolite Petovan 2020-02-13 20:42:15 -05:00
parent 756de11cda
commit 2a7de4213f
2 changed files with 16 additions and 14 deletions

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