From 8c14da0aa1ce7631b38529ddb0224f69a3ed1900 Mon Sep 17 00:00:00 2001 From: elkmaennchen Date: Sat, 28 Mar 2020 18:44:06 +0100 Subject: [PATCH] bug : action didn't appear properly on title --- gitscord_webhook.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gitscord_webhook.php b/gitscord_webhook.php index 5c7343e..d94e197 100644 --- a/gitscord_webhook.php +++ b/gitscord_webhook.php @@ -197,7 +197,7 @@ function MR_layout($messageJSON,$JSON,$lang) { $txt_action_description="*Problem with GitScord, please report.*"; } $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, 'url'=> $JSON['object_attributes']['url'], 'timestamp'=> $JSON['object_attributes']['created_at'],