|
@@ 882-885 (lines=4) @@
|
| 879 |
|
$right = $this->getRight(); |
| 880 |
|
$agent = $this->getAgent(); |
| 881 |
|
|
| 882 |
|
if ($right->earlier && null === $agent->getDirEntryDate($right->earlier)) |
| 883 |
|
{ |
| 884 |
|
$errors[] = absences_translate('The right contain a criterion based on an earlier date in the directory entry but the date is invalid'); |
| 885 |
|
} |
| 886 |
|
|
| 887 |
|
if ($right->later && null === $agent->getDirEntryDate($right->later)) |
| 888 |
|
{ |
|
@@ 887-890 (lines=4) @@
|
| 884 |
|
$errors[] = absences_translate('The right contain a criterion based on an earlier date in the directory entry but the date is invalid'); |
| 885 |
|
} |
| 886 |
|
|
| 887 |
|
if ($right->later && null === $agent->getDirEntryDate($right->later)) |
| 888 |
|
{ |
| 889 |
|
$errors[] = absences_translate('The right contain a criterion based on a later date in the directory entry but the date is invalid'); |
| 890 |
|
} |
| 891 |
|
|
| 892 |
|
|
| 893 |
|
return $errors; |