|
@@ 760-761 (lines=2) @@
|
| 757 |
|
if (isset($_POST['start_date'])) |
| 758 |
|
{ |
| 759 |
|
$d = date_parse($_POST['start_date']); |
| 760 |
|
if (!empty($d['error_count']) || !empty($d['warning_count'])) |
| 761 |
|
fatal_lang_error('invalid_date', false); |
| 762 |
|
if (empty($d['year'])) |
| 763 |
|
fatal_lang_error('event_year_missing', false); |
| 764 |
|
if (empty($d['month'])) |
|
@@ 770-771 (lines=2) @@
|
| 767 |
|
elseif (isset($_POST['start_datetime'])) |
| 768 |
|
{ |
| 769 |
|
$d = date_parse($_POST['start_datetime']); |
| 770 |
|
if (!empty($d['error_count']) || !empty($d['warning_count'])) |
| 771 |
|
fatal_lang_error('invalid_date', false); |
| 772 |
|
if (empty($d['year'])) |
| 773 |
|
fatal_lang_error('event_year_missing', false); |
| 774 |
|
if (empty($d['month'])) |