Lang::__construct() now converts $replacements into an array.
Signed-off-by: Pavel <proger.xp@gmail.com>
This commit is contained in:
parent
1192abe39c
commit
5019d05ed2
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue