From: csantossaenz Date: Tue, 19 Jun 2007 14:56:36 +0000 (+0000) Subject: Fixed a problem with true-false type for correct responses X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=090be7435c6ecf37b28a3700b144de381fd52e7f;p=moodle.git Fixed a problem with true-false type for correct responses --- diff --git a/mod/scorm/datamodels/scorm_13.js.php b/mod/scorm/datamodels/scorm_13.js.php index 39788195fe..fffd175ec4 100644 --- a/mod/scorm/datamodels/scorm_13.js.php +++ b/mod/scorm/datamodels/scorm_13.js.php @@ -747,7 +747,7 @@ function SCORMapi1_3() { matches = nodes[i].match(expression); //if ((matches == null) || (matches.join('').length == 0)) { - if (matches == null && value != "") { + if ((matches == null && value != "")||(matches == null && interactiontype=="true-false")){ errorCode = "406"; } else {