Skip to content

Commit

Permalink
Merge pull request #105 from ElementareTeilchen/patch-1
Browse files Browse the repository at this point in the history
BUGFIX: Message constructor needs title to be string
  • Loading branch information
albe committed Dec 1, 2019
2 parents fc906ea + aa70fae commit c993f7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/Finishers/FlashMessageFinisher.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ protected function executeInternal()
if (!is_string($messageBody)) {
throw new FinisherException(sprintf('The message body must be of type string, "%s" given.', gettype($messageBody)), 1335980069);
}
$messageTitle = $this->parseOption('messageTitle');
$messageTitle = $this->parseOption('messageTitle') ?? '';
$messageArguments = $this->parseOption('messageArguments');
$messageCode = $this->parseOption('messageCode');
$severity = $this->parseOption('severity');
Expand Down

0 comments on commit c993f7e

Please sign in to comment.