Merge branch 'MDL-63371_35' of git://github.com/timhunt/moodle into MOODLE_35_STABLE
This commit is contained in:
@@ -1184,7 +1184,7 @@ class question_attempt {
|
||||
protected function check_qt_var_name_restrictions($expected) {
|
||||
global $CFG;
|
||||
|
||||
if ($CFG->debugdeveloper) {
|
||||
if ($CFG->debugdeveloper && $expected !== self::USE_RAW_DATA) {
|
||||
foreach ($expected as $key => $value) {
|
||||
if (strpos($key, 'bf_') !== false) {
|
||||
debugging('The bf_ prefix is reserved and cannot be used by question types', DEBUG_DEVELOPER);
|
||||
|
||||
Reference in New Issue
Block a user