Merge branch 'MDL-63371_35' of git://github.com/timhunt/moodle into MOODLE_35_STABLE

This commit is contained in:
Eloy Lafuente (stronk7)
2018-09-17 23:09:28 +02:00
+1 -1
View File
@@ -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);