|
@@ 897-898 (lines=2) @@
|
| 894 |
|
if (isset($_POST['start_date'])) |
| 895 |
|
{ |
| 896 |
|
$d = date_parse($_POST['start_date']); |
| 897 |
|
if (!empty($d['error_count']) || !empty($d['warning_count'])) |
| 898 |
|
fatal_lang_error('invalid_date', false); |
| 899 |
|
if (empty($d['year'])) |
| 900 |
|
fatal_lang_error('event_year_missing', false); |
| 901 |
|
if (empty($d['month'])) |
|
@@ 907-908 (lines=2) @@
|
| 904 |
|
elseif (isset($_POST['start_datetime'])) |
| 905 |
|
{ |
| 906 |
|
$d = date_parse($_POST['start_datetime']); |
| 907 |
|
if (!empty($d['error_count']) || !empty($d['warning_count'])) |
| 908 |
|
fatal_lang_error('invalid_date', false); |
| 909 |
|
if (empty($d['year'])) |
| 910 |
|
fatal_lang_error('event_year_missing', false); |
| 911 |
|
if (empty($d['month'])) |