Browse Source

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

Signed-off-by: Pavel <proger.xp@gmail.com>
Pavel 12 years ago
parent
commit
5019d05ed2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      laravel/lang.php

+ 1 - 1
laravel/lang.php

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