|
@@ 766-767 (lines=2) @@
|
| 763 |
|
if (isset($_POST['start_date'])) |
| 764 |
|
{ |
| 765 |
|
$d = date_parse($_POST['start_date']); |
| 766 |
|
if (!empty($d['error_count']) || !empty($d['warning_count'])) |
| 767 |
|
fatal_lang_error('invalid_date', false); |
| 768 |
|
if (empty($d['year'])) |
| 769 |
|
fatal_lang_error('event_year_missing', false); |
| 770 |
|
if (empty($d['month'])) |
|
@@ 776-777 (lines=2) @@
|
| 773 |
|
elseif (isset($_POST['start_datetime'])) |
| 774 |
|
{ |
| 775 |
|
$d = date_parse($_POST['start_datetime']); |
| 776 |
|
if (!empty($d['error_count']) || !empty($d['warning_count'])) |
| 777 |
|
fatal_lang_error('invalid_date', false); |
| 778 |
|
if (empty($d['year'])) |
| 779 |
|
fatal_lang_error('event_year_missing', false); |
| 780 |
|
if (empty($d['month'])) |