diff --git a/src/Illuminate/Translation/Translator.php b/src/Illuminate/Translation/Translator.php index 55c8cdf8673b..23e88fccac92 100755 --- a/src/Illuminate/Translation/Translator.php +++ b/src/Illuminate/Translation/Translator.php @@ -260,6 +260,9 @@ protected function makeReplacements($line, array $replace) if (empty($replace)) { return $line; } + if (is_array($line)) { + return $line; + } $shouldReplace = [];