|
@@ 891-894 (lines=4) @@
|
| 888 |
|
$right = $this->getRight(); |
| 889 |
|
$agent = $this->getAgent(); |
| 890 |
|
|
| 891 |
|
if ($right->earlier && null === $agent->getDirEntryDate($right->earlier)) |
| 892 |
|
{ |
| 893 |
|
$errors[] = absences_translate('The right contain a criterion based on an earlier date in the directory entry but the date is invalid'); |
| 894 |
|
} |
| 895 |
|
|
| 896 |
|
if ($right->later && null === $agent->getDirEntryDate($right->later)) |
| 897 |
|
{ |
|
@@ 896-899 (lines=4) @@
|
| 893 |
|
$errors[] = absences_translate('The right contain a criterion based on an earlier date in the directory entry but the date is invalid'); |
| 894 |
|
} |
| 895 |
|
|
| 896 |
|
if ($right->later && null === $agent->getDirEntryDate($right->later)) |
| 897 |
|
{ |
| 898 |
|
$errors[] = absences_translate('The right contain a criterion based on a later date in the directory entry but the date is invalid'); |
| 899 |
|
} |
| 900 |
|
|
| 901 |
|
|
| 902 |
|
return $errors; |