From 090be7435c6ecf37b28a3700b144de381fd52e7f Mon Sep 17 00:00:00 2001 From: csantossaenz Date: Tue, 19 Jun 2007 14:56:36 +0000 Subject: [PATCH] Fixed a problem with true-false type for correct responses --- mod/scorm/datamodels/scorm_13.js.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod/scorm/datamodels/scorm_13.js.php b/mod/scorm/datamodels/scorm_13.js.php index 39788195fe0..fffd175ec4e 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 {