|
@@ 892-893 (lines=2) @@
|
| 889 |
|
if (isset($_POST['start_date'])) |
| 890 |
|
{ |
| 891 |
|
$d = date_parse($_POST['start_date']); |
| 892 |
|
if (!empty($d['error_count']) || !empty($d['warning_count'])) |
| 893 |
|
fatal_lang_error('invalid_date', false); |
| 894 |
|
if (empty($d['year'])) |
| 895 |
|
fatal_lang_error('event_year_missing', false); |
| 896 |
|
if (empty($d['month'])) |
|
@@ 902-903 (lines=2) @@
|
| 899 |
|
elseif (isset($_POST['start_datetime'])) |
| 900 |
|
{ |
| 901 |
|
$d = date_parse($_POST['start_datetime']); |
| 902 |
|
if (!empty($d['error_count']) || !empty($d['warning_count'])) |
| 903 |
|
fatal_lang_error('invalid_date', false); |
| 904 |
|
if (empty($d['year'])) |
| 905 |
|
fatal_lang_error('event_year_missing', false); |
| 906 |
|
if (empty($d['month'])) |