diff --git a/externallib.php b/externallib.php index 0adabfc..d7cbfb6 100644 --- a/externallib.php +++ b/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']); } diff --git a/tests/externallib_test.php b/tests/externallib_test.php index 3a70d8a..18e7ee0 100644 --- a/tests/externallib_test.php +++ b/tests/externallib_test.php @@ -504,6 +504,6 @@ class mod_attendance_external_testcase extends externallib_advanced_testcase { } } } - } + } } }