From 912861dbff74f8336cefeba6d3dc762236b36fef Mon Sep 17 00:00:00 2001 From: Julie Lenaerts Date: Mon, 27 Jan 2025 11:03:46 +0100 Subject: [PATCH] Remove assert attribute on startdate --- src/Bundle/ChillMainBundle/Entity/NewsItem.php | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Bundle/ChillMainBundle/Entity/NewsItem.php b/src/Bundle/ChillMainBundle/Entity/NewsItem.php index 78ca5bcf2..7acf2de86 100644 --- a/src/Bundle/ChillMainBundle/Entity/NewsItem.php +++ b/src/Bundle/ChillMainBundle/Entity/NewsItem.php @@ -46,7 +46,6 @@ class NewsItem implements TrackCreationInterface, TrackUpdateInterface private string $content = ''; #[Assert\NotNull] - #[Assert\GreaterThanOrEqual('today')] #[Groups(['read'])] #[ORM\Column(type: \Doctrine\DBAL\Types\Types::DATE_IMMUTABLE, nullable: false)] private ?\DateTimeImmutable $startDate = null;