mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
MDL-34019 Fix response item key name
This commit is contained in:
parent
337b34fac0
commit
d5d2e3531f
@ -811,7 +811,7 @@ class available_update_checker {
|
||||
}
|
||||
|
||||
if (empty($response['forbranch']) or $response['forbranch'] !== moodle_major_version(true)) {
|
||||
throw new available_update_checker_exception('err_response_target_version', $response['target']);
|
||||
throw new available_update_checker_exception('err_response_target_version', $response['forbranch']);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user