Skip to content

Commit

Permalink
Move br tag to private message
Browse files Browse the repository at this point in the history
Signed-off-by: Roland Dalmulder <contact@rolandd.com>
  • Loading branch information
roland-d committed May 27, 2022
1 parent 76b94a7 commit 073c1cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/workflow/notification/notification.php
Expand Up @@ -223,7 +223,7 @@ public function onWorkflowAfterTransition(WorkflowTransitionEvent $event): void

if (!empty($transition->options['notification_text']))
{
$extraText = '<br>' . htmlspecialchars($lang->_($transition->options['notification_text']));
$extraText = htmlspecialchars($lang->_($transition->options['notification_text']));
}

foreach ($notificationTypes as $type)
Expand Down Expand Up @@ -295,7 +295,7 @@ private function sendMessages(
$user,
$toStage
);
$messageText .= $extraText;
$messageText .= '<br>' . $extraText;

$message = [
'id' => 0,
Expand Down

0 comments on commit 073c1cf

Please sign in to comment.