Permalink
Browse files

MDL-31179: added missing global

  • Loading branch information...
1 parent 269c884 commit 288503b7802c67dd7465dacc96520f1781c957b4 @marinaglancy marinaglancy committed Jan 17, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 grade/grading/lib.php
View
@@ -461,7 +461,7 @@ public function extend_settings_navigation(settings_navigation $settingsnav, nav
* @return grading_controller
*/
public function get_controller($method) {
- global $CFG;
+ global $CFG, $DB;
$this->ensure_isset(array('context', 'component', 'area'));

0 comments on commit 288503b

Please sign in to comment.