Browse files

MDL-34019 Fix response item key name

  • Loading branch information...
1 parent a5f6ea2 commit 896f9ae83b3eb3ebe6b1feea4182610328d50aa5 @mudrd8mz mudrd8mz committed Jun 26, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/pluginlib.php
View
2 lib/pluginlib.php
@@ -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 896f9ae

Please sign in to comment.