From 5019d05ed21ddfe7da62aaf83ef451984cd59fc4 Mon Sep 17 00:00:00 2001 From: Pavel Date: Thu, 19 Apr 2012 23:40:38 +0400 Subject: [PATCH] Lang::__construct() now converts $replacements into an array. Signed-off-by: Pavel --- laravel/lang.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/laravel/lang.php b/laravel/lang.php index 87be5f3d..d190f7c9 100644 --- a/laravel/lang.php +++ b/laravel/lang.php @@ -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; } /**