|
@@ 340-347 (lines=8) @@
|
| 337 |
|
return false; |
| 338 |
|
} |
| 339 |
|
|
| 340 |
|
if (($date_end_to_compare[1] || |
| 341 |
|
$date_end_to_compare[2] || |
| 342 |
|
$date_end_to_compare[0]) && |
| 343 |
|
!checkdate($date_end_to_compare[1], $date_end_to_compare[2], $date_end_to_compare[0]) |
| 344 |
|
) { |
| 345 |
|
Display :: display_normal_message(get_lang('InvalidEndDate')); |
| 346 |
|
return false; |
| 347 |
|
} |
| 348 |
|
|
| 349 |
|
if (strlen(trim($title)) == 0) { |
| 350 |
|
Display::display_normal_message(get_lang('InvalidTitle')); |
|
@@ 532-539 (lines=8) @@
|
| 529 |
|
return false; |
| 530 |
|
} |
| 531 |
|
|
| 532 |
|
if (($date_end_to_compare[1] || |
| 533 |
|
$date_end_to_compare[2] || |
| 534 |
|
$date_end_to_compare[0]) && |
| 535 |
|
!checkdate($date_end_to_compare[1], $date_end_to_compare[2], $date_end_to_compare[0]) |
| 536 |
|
) { |
| 537 |
|
Display :: display_normal_message(get_lang('InvalidEndDate')); |
| 538 |
|
|
| 539 |
|
return false; |
| 540 |
|
} |
| 541 |
|
|
| 542 |
|
if (strlen(trim($title)) == 0) { |