Permalink
Browse files

MDL-34019 Fix response item key name

  • Loading branch information...
1 parent 337b34f commit d5d2e3531f61d8f969687c17e137cea03877bc12 @mudrd8mz mudrd8mz committed with danpoltawski Jun 26, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/pluginlib.php
View
@@ -811,7 +811,7 @@ protected function validate_response($response) {
}
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']);
}
}

0 comments on commit d5d2e35

Please sign in to comment.