Fix reference to wrong constant name

This commit is contained in:
Joshua Ramon Enslin 2022-02-15 01:23:05 +01:00
parent e1681976c4
commit eefba3ddc2
Signed by: jrenslin
GPG Key ID: 46016F84501B70AE

View File

@ -32,7 +32,7 @@ final class MDAppointmentAttendanceModeSet extends MDValueSet {
* @return array<string>
*/
public static function getSortedList(MDTlLoader $tlLoader):array {
return parent::getTlSortedList($tlLoader, self::AVAILABLE_ROLES, "appointment_attendance_modes", "appointment_attendance_modes");
return parent::getTlSortedList($tlLoader, self::MODES, "appointment_attendance_modes", "appointment_attendance_modes");
}
}