-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 3.6.6, 3.7.2, 3.8
-
Component/s: Questions
-
Testing Instructions:
-
Affected Branches:MOODLE_36_STABLE, MOODLE_37_STABLE, MOODLE_38_STABLE
-
Fixed Branches:MOODLE_36_STABLE, MOODLE_37_STABLE
-
Pull from Repository:
-
Pull 3.6 Branch:
MDL-66980_36 -
Pull 3.6 Diff URL:
-
Pull 3.7 Branch:
MDL-66980_37 -
Pull 3.7 Diff URL:
-
Pull Master Branch:
-
Pull Master Diff URL:
Eloy spotted this while working on MDL-66968.
https://github.com/moodle/moodle/blob/aaff6692a1aa1827cb5c1c69910302d8cbf99379/question/engine/bank.php#L613 should be if (!array_key_exists($id, $questiondata)).
- Discovered while testing
-
MDL-66968 Remove array_key_exists() on objects
-
- Closed
-