From: rabuzarus <> Date: Mon, 20 Mar 2017 16:19:24 +0000 (+0100) Subject: add missed NULL_DATE X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=0557a42e2f6fa18d4a3a3b9be07d10d02501f296;p=friendica.git add missed NULL_DATE --- 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.');