fix bug in eloquent model.

This commit is contained in:
Taylor Otwell 2012-09-27 17:44:03 -04:00
parent ae5331b312
commit 02cb96a008
1 changed files with 1 additions and 1 deletions

View File

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