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
commit e256a66b18
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ protected function __construct($key, $replacements = array(), $language = null)
{
$this->key = $key;
$this->language = $language;
$this->replacements = $replacements;
$this->replacements = (array) $replacements;
}
/**