mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
Merge branch 'MDL-54751-master-gradeitemfix' of git://github.com/snake/moodle
This commit is contained in:
commit
5ffd3f3309
@ -1399,6 +1399,8 @@ class grade_item extends grade_object {
|
||||
* @return string name
|
||||
*/
|
||||
public function get_name($fulltotal=false) {
|
||||
global $CFG;
|
||||
require_once($CFG->dirroot . '/course/lib.php');
|
||||
if (strval($this->itemname) !== '') {
|
||||
// MDL-10557
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user