diff --git a/laravel/database/eloquent/model.php b/laravel/database/eloquent/model.php index bdcf6daf..8ae74f6b 100644 --- a/laravel/database/eloquent/model.php +++ b/laravel/database/eloquent/model.php @@ -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); } /**