diff --git a/src/Traits/LogsActivity.php b/src/Traits/LogsActivity.php index 770ada80..010e40cc 100644 --- a/src/Traits/LogsActivity.php +++ b/src/Traits/LogsActivity.php @@ -244,6 +244,11 @@ public function shouldLogUnguarded(): bool if (! $this->activitylogOptions->logUnguarded) { return false; } + + // This case means model is unguarded + if ($this->isUnguarded()) { + return true; + } // This case means all of the attributes are guarded // so we'll not have any unguarded anyway.