bug : action didn't appear properly on title

master
elkmaennchen 4 years ago
parent 0a3a644e62
commit 8c14da0aa1

@ -197,7 +197,7 @@ function MR_layout($messageJSON,$JSON,$lang) {
$txt_action_description="*Problem with GitScord, please report.*"; $txt_action_description="*Problem with GitScord, please report.*";
} }
$messageJSON['content'] = $txt_ligne_MR[$lang]; $messageJSON['content'] = $txt_ligne_MR[$lang];
$messageJSON['embeds'] = array(array('title'=> $txt_title_MR[$lang].' *'.$JSON['project']['name'].'*', $messageJSON['embeds'] = array(array('title'=> $txt_action.' *'.$JSON['project']['name'].'*',
'description'=> "**".$JSON['object_attributes']['title']."**\n".$txt_action_description, 'description'=> "**".$JSON['object_attributes']['title']."**\n".$txt_action_description,
'url'=> $JSON['object_attributes']['url'], 'url'=> $JSON['object_attributes']['url'],
'timestamp'=> $JSON['object_attributes']['created_at'], 'timestamp'=> $JSON['object_attributes']['created_at'],

Loading…
Cancel
Save