|
@@ 903-904 (lines=2) @@
|
| 900 |
|
if (isset($_POST['start_date'])) |
| 901 |
|
{ |
| 902 |
|
$d = date_parse($_POST['start_date']); |
| 903 |
|
if (!empty($d['error_count']) || !empty($d['warning_count'])) |
| 904 |
|
fatal_lang_error('invalid_date', false); |
| 905 |
|
if (empty($d['year'])) |
| 906 |
|
fatal_lang_error('event_year_missing', false); |
| 907 |
|
if (empty($d['month'])) |
|
@@ 913-914 (lines=2) @@
|
| 910 |
|
elseif (isset($_POST['start_datetime'])) |
| 911 |
|
{ |
| 912 |
|
$d = date_parse($_POST['start_datetime']); |
| 913 |
|
if (!empty($d['error_count']) || !empty($d['warning_count'])) |
| 914 |
|
fatal_lang_error('invalid_date', false); |
| 915 |
|
if (empty($d['year'])) |
| 916 |
|
fatal_lang_error('event_year_missing', false); |
| 917 |
|
if (empty($d['month'])) |