Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.9, 1.9.1, 1.9.2, 1.9.3, 1.9.4, 1.9.5
-
Component/s: Questions
-
Labels:None
-
Difficulty:Easy
-
Affected Branches:MOODLE_19_STABLE
-
Fixed Branches:MOODLE_17_STABLE, MOODLE_18_STABLE, MOODLE_19_STABLE
Description
question import from jcloze error upon encountering a "0" in a gap
see this discussion: http://moodle.org/mod/forum/discuss.php?d=131421
easy fix provided in attached patch file
Joseph
Attachments
Activity
- All
- Comments
- History
- Activity
- Source
- Test Sessions
many thanks Joseph.
I have set "question/format/hotpot/format.php" to use the same detection mechanism for JCloze answers as in the main HotPot module script "mod/hotpot/templates/v6.php", namely ...
if (strlen($text)) {
I am pretty confident that this will fix the issue, but if there are further problems please feel free to reopen.