mirror of
https://github.com/moodle/moodle.git
synced 2025-04-14 13:02:07 +02:00
Merge branch 'MDL-75276-fix' of https://github.com/sarjona/moodle
This commit is contained in:
commit
ced9afd781
@ -244,7 +244,7 @@ class manager {
|
||||
public function get_field_records() {
|
||||
global $DB;
|
||||
if ($this->_fieldrecords === null) {
|
||||
$this->_fieldrecords = $DB->get_records('data_fields', ['dataid' => $this->instance->id]);
|
||||
$this->_fieldrecords = $DB->get_records('data_fields', ['dataid' => $this->instance->id], 'id');
|
||||
}
|
||||
return $this->_fieldrecords;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user