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 2fc52e1 commit 13ead80Copy full SHA for 13ead80
src/BooleanDateAttribute.php
@@ -25,7 +25,6 @@ private static function getBooleanDate(mixed $value, array $attributes, string $
25
private static function setBooleanDate(mixed $value, array $attributes, string $column): array
26
{
27
// Only update the field if it's never been set before or when it's being "disabled"
28
-
29
if (! $value || ! array_key_exists($column, $attributes) || $attributes[$column] === null) {
30
return [$column => ! $value ? null : CarbonImmutable::now()];
31
}
0 commit comments