fix bug in eloquent model.
This commit is contained in:
parent
ae5331b312
commit
02cb96a008
|
@ -544,7 +544,7 @@ public function get_dirty()
|
||||||
*/
|
*/
|
||||||
public function get_key()
|
public function get_key()
|
||||||
{
|
{
|
||||||
return array_get($this->original, static::$key);
|
return array_get($this->attributes, static::$key);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue