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 4786abf commit 25307bdCopy full SHA for 25307bd
src/Listeners/Creating.php
@@ -17,7 +17,7 @@ public function handle(Model $model): void
17
$model->{$model->getCreatedByColumn()} = Userstamps::getUserId();
18
}
19
20
- if (is_null($model->{$model->getUpdatedByColumn()}) && ! is_null($model->getUpdatedByColumn())) {
+ if (! is_null($model->getUpdatedByColumn()) && is_null($model->{$model->getUpdatedByColumn()})) {
21
$model->{$model->getUpdatedByColumn()} = Userstamps::getUserId();
22
23
0 commit comments