Browse Source

Fixed codechecker reported issues

40-behatfixes
Peter Rundqvist 3 years ago
parent
commit
b84db111a1
  1. 2
      externallib.php

2
externallib.php

@ -576,7 +576,7 @@ class mod_attendance_external extends external_api {
$params = self::validate_parameters(self::get_sessions_parameters(), array( $params = self::validate_parameters(self::get_sessions_parameters(), array(
'attendanceid' => $attendanceid, 'attendanceid' => $attendanceid,
)); ));
return attendance_handler::get_sessions($params['attendanceid']); return attendance_handler::get_sessions($params['attendanceid']);
} }

Loading…
Cancel
Save