Browse Source

Fixed codechecker reported issues

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

2
externallib.php

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

2
tests/externallib_test.php

@ -504,6 +504,6 @@ class mod_attendance_external_testcase extends externallib_advanced_testcase {
}
}
}
}
}
}
}

Loading…
Cancel
Save