|
@@ 868-869 (lines=2) @@
|
| 865 |
|
if (isset($_POST['start_date'])) |
| 866 |
|
{ |
| 867 |
|
$d = date_parse($_POST['start_date']); |
| 868 |
|
if (!empty($d['error_count']) || !empty($d['warning_count'])) |
| 869 |
|
fatal_lang_error('invalid_date', false); |
| 870 |
|
if (empty($d['year'])) |
| 871 |
|
fatal_lang_error('event_year_missing', false); |
| 872 |
|
if (empty($d['month'])) |
|
@@ 878-879 (lines=2) @@
|
| 875 |
|
elseif (isset($_POST['start_datetime'])) |
| 876 |
|
{ |
| 877 |
|
$d = date_parse($_POST['start_datetime']); |
| 878 |
|
if (!empty($d['error_count']) || !empty($d['warning_count'])) |
| 879 |
|
fatal_lang_error('invalid_date', false); |
| 880 |
|
if (empty($d['year'])) |
| 881 |
|
fatal_lang_error('event_year_missing', false); |
| 882 |
|
if (empty($d['month'])) |