From f148f6211c378864c34c19f0aebcac97832aa9fe Mon Sep 17 00:00:00 2001 From: RK Date: Mon, 24 Sep 2012 10:35:07 -0400 Subject: [PATCH] Fixing the array_get misspelling. --- laravel/database/eloquent/model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/laravel/database/eloquent/model.php b/laravel/database/eloquent/model.php index c57b36ad..b1ee5176 100644 --- a/laravel/database/eloquent/model.php +++ b/laravel/database/eloquent/model.php @@ -544,7 +544,7 @@ abstract class Model { */ public function get_key() { - return get_array($this->original, static::$key); + return array_get($this->original, static::$key); } /**