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