Merge pull request #562 from ProgerXP/patch-lang

Lang::__construct(): turn non-array $replacements into an array
This commit is contained in:
Taylor Otwell
2012-05-03 06:44:34 -07:00

View File

@@ -51,7 +51,7 @@ class Lang {
{
$this->key = $key;
$this->language = $language;
$this->replacements = $replacements;
$this->replacements = (array) $replacements;
}
/**