From 79ae8789bbb99fe28afc821e4e49642d262e9c34 Mon Sep 17 00:00:00 2001 From: thepurpleblob Date: Wed, 26 Nov 2008 15:15:58 +0000 Subject: [PATCH] MDL-17125 Fix as suggested by Jonathan Kemp. Merged from STABLE_19 --- mod/lesson/action/continue.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod/lesson/action/continue.php b/mod/lesson/action/continue.php index cf000ea32c..5d03ac63ee 100644 --- a/mod/lesson/action/continue.php +++ b/mod/lesson/action/continue.php @@ -122,7 +122,7 @@ $expectedanswer = str_replace('#####', '.*', $expectedanswer); } // see if user typed in any of the correct answers - if (lesson_iscorrect($pageid, $answer->jumpto) or ($lesson->custom && $answer->score > 0) ) { + if (lesson_iscorrect($pageid, $answer->jumpto) and ($lesson->custom && $answer->score > 0) ) { if (!$useregexp) { // we are using 'normal analysis', which ignores case if (preg_match('/^'.$expectedanswer.'$/i',$useranswer)) { $ismatch = true; -- 2.39.5