We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5bd7c77 commit fe0295eCopy full SHA for fe0295e
src/Illuminate/Database/Eloquent/SoftDeletes.php
@@ -66,7 +66,7 @@ protected function runSoftDelete()
66
67
$this->{$this->getDeletedAtColumn()} = $time;
68
69
- if ($this->timestamps) {
+ if ($this->timestamps && ! is_null($this->getUpdatedAtColumn())) {
70
$this->{$this->getUpdatedAtColumn()} = $time;
71
72
$columns[$this->getUpdatedAtColumn()] = $this->fromDateTime($time);
0 commit comments