diff --git a/qtism/runtime/tests/AssessmentTestSession.php b/qtism/runtime/tests/AssessmentTestSession.php index 9c7172c6e..72f15f2af 100644 --- a/qtism/runtime/tests/AssessmentTestSession.php +++ b/qtism/runtime/tests/AssessmentTestSession.php @@ -1421,7 +1421,7 @@ public function moveNext($allowTimeout = false) { if ($allowTimeout === false) { try { // Do not check min times, include item timings. - $this->checkTimeLimits(false, true); + $this->checkTimeLimits(false, true, false); // No exception thrown, we found a non timed-out item to be // presented to the candidate. @@ -1474,10 +1474,10 @@ public function moveBack($allowTimeout = false) { while ($route->isFirst() === false) { - if ($allowTimeout = false) { + if ($allowTimeout === false) { try { // Do not check min times, include item timings. - $this->checkTimeLimits(false, true); + $this->checkTimeLimits(false, true, false); // No exception thrown, return. $this->interactWithItemSession(); @@ -1499,7 +1499,7 @@ public function moveBack($allowTimeout = false) { // of the first RouteItem of the test... if ($allowTimeout === false) { try { - $this->checkTimeLimits(false, true); + $this->checkTimeLimits(false, true, false); $this->interactWithItemSession(); } catch (AssessmentTestSessionException $e) {