|
@@ 885-886 (lines=2) @@
|
| 882 |
|
if (isset($_POST['start_date'])) |
| 883 |
|
{ |
| 884 |
|
$d = date_parse($_POST['start_date']); |
| 885 |
|
if (!empty($d['error_count']) || !empty($d['warning_count'])) |
| 886 |
|
fatal_lang_error('invalid_date', false); |
| 887 |
|
if (empty($d['year'])) |
| 888 |
|
fatal_lang_error('event_year_missing', false); |
| 889 |
|
if (empty($d['month'])) |
|
@@ 895-896 (lines=2) @@
|
| 892 |
|
elseif (isset($_POST['start_datetime'])) |
| 893 |
|
{ |
| 894 |
|
$d = date_parse($_POST['start_datetime']); |
| 895 |
|
if (!empty($d['error_count']) || !empty($d['warning_count'])) |
| 896 |
|
fatal_lang_error('invalid_date', false); |
| 897 |
|
if (empty($d['year'])) |
| 898 |
|
fatal_lang_error('event_year_missing', false); |
| 899 |
|
if (empty($d['month'])) |