Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

Commit

Permalink
Merge pull request #33 from jguittard/hotfix/32
Browse files Browse the repository at this point in the history
Fixes #32
  • Loading branch information
weierophinney committed Feb 10, 2016
2 parents c945788 + 04b4bce commit 2588e37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Translator/Translator.php
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@ protected function getTranslatedMessage(
$locale,
$textDomain = 'default'
) {
if ($message === '') {
if ($message === '' || is_null($message)) {
return '';
}

Expand Down

0 comments on commit 2588e37

Please sign in to comment.