Skip to content

Commit

Permalink
bugfix reactions
Browse files Browse the repository at this point in the history
reactions were not rendered if meta_msg content was empty
  • Loading branch information
remdex committed Jan 10, 2023
1 parent 366412b commit c636f80
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lhc_web/design/defaulttheme/tpl/lhchat/syncuser.tpl.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@
$lastOperatorId = $msg['user_id'];
$lastOperatorNick = $msg['name_support'];

if ($msg['meta_msg'] == '') {
$msg['meta_msg'] = '{}';
}

?>
<?php include(erLhcoreClassDesign::designtpl('lhchat/lists/user_msg_row.tpl.php'));?>
Expand Down

0 comments on commit c636f80

Please sign in to comment.