Lang::__construct() now converts $replacements into an array.
Signed-off-by: Pavel <[email protected]>
This commit is contained in:
+1
-1
@@ -51,7 +51,7 @@ class Lang {
|
||||
{
|
||||
$this->key = $key;
|
||||
$this->language = $language;
|
||||
$this->replacements = $replacements;
|
||||
$this->replacements = (array) $replacements;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user