MDL-34019 Fix response item key name

This commit is contained in:
David Mudrák 2012-06-26 09:12:35 +02:00 committed by Dan Poltawski
parent 337b34fac0
commit d5d2e3531f

View File

@ -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']);
}
}