X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fevents.php;h=60e7b9f39076bf40c7b361afc05ebe9e987b7d5b;hb=8bdc906013461464b475c4f10918adff8730dea6;hp=a2f3ec39a45c0bb33d9b9093f43526c0bd778fb7;hpb=0879b46125fe5be9a1c33e4b0881846d2ed136c1;p=friendica.git diff --git a/mod/events.php b/mod/events.php index a2f3ec39a4..60e7b9f390 100644 --- a/mod/events.php +++ b/mod/events.php @@ -98,7 +98,7 @@ function events_post(App $a) { goaway($onerror_url); } - if ((! $summary) || ($start === '0000-00-00 00:00:00')) { + if ((! $summary) || ($start === NULL_DATE)) { notice(t('Event title and start time are required.') . EOL); if (intval($_REQUEST['preview'])) { echo t('Event title and start time are required.');