From c6d07feff575862b5db8d05e02be6375e51034c7 Mon Sep 17 00:00:00 2001 From: friendica Date: Mon, 8 Sep 2014 20:35:15 -0700 Subject: This is long overdue - use a symblic constant NULL_DATE instead of the easily mis-typed sequence '0000-00-00 00:00:00' --- mod/events.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mod/events.php') diff --git a/mod/events.php b/mod/events.php index 195dcb0ff..c80d1dd39 100755 --- a/mod/events.php +++ b/mod/events.php @@ -53,7 +53,7 @@ function events_post(&$a) { } if($nofinish) { - $finish = '0000-00-00 00:00:00'; + $finish = NULL_DATE; } if($finish_text) { -- cgit v1.2.3