From 10ee41f3b3306d5b29c05937f9b2086b538269d2 Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Wed, 1 Feb 2012 13:20:44 -0600 Subject: [PATCH] fix bug in fluent class. --- laravel/fluent.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/laravel/fluent.php b/laravel/fluent.php index fbfaf57a..1c83b468 100644 --- a/laravel/fluent.php +++ b/laravel/fluent.php @@ -37,7 +37,7 @@ public function __construct($attributes = array()) */ public function get($attribute, $default = null) { - return array_get($attributes, $attribute, $default); + return array_get($this->attributes, $attribute, $default); } /**