Lang::__construct() now converts $replacements into an array.

Signed-off-by: Pavel <proger.xp@gmail.com>
This commit is contained in:
Pavel 2012-04-19 23:40:38 +04:00
parent 1192abe39c
commit 5019d05ed2
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->key = $key;
$this->language = $language; $this->language = $language;
$this->replacements = $replacements; $this->replacements = (array) $replacements;
} }
/** /**