|
@@ -422,7 +422,6 @@ function showQuestion($questionId, $only_questions = false, $origin = false, $cu
|
|
|
$correct_item = preg_quote($correct_item);
|
|
|
$correct_item = api_preg_replace('|/|', '\/', $correct_item); // to prevent error if there is a / in the text to find
|
|
|
$answer = api_preg_replace('/'.$correct_item.'/', Display::input('text', "choice[$questionId][]", $value), $answer);
|
|
|
- //$answer = api_preg_replace('/\['.$correct_item.'+\]/', Display::input('text', "choice[$questionId][]", $value), $answer);
|
|
|
}
|
|
|
$i++;
|
|
|
}
|