Browse Source

Fixing the array_get misspelling.

RK 12 years ago
parent
commit
f148f6211c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      laravel/database/eloquent/model.php

+ 1 - 1
laravel/database/eloquent/model.php

@@ -544,7 +544,7 @@ abstract class Model {
 	 */
 	 */
 	public function get_key()
 	public function get_key()
 	{
 	{
-		return get_array($this->original, static::$key);
+		return array_get($this->original, static::$key);
 	}
 	}
 
 
 	/**
 	/**