Merge pull request #3433 from lcubas/2991

Exercise: Fix issue showing less questions in the question pool when …
pull/3439/head
Yannick Warnier 5 years ago committed by GitHub
commit e1d454f18d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      main/exercise/question_pool.php

@ -109,6 +109,9 @@ if ($is_allowedToEdit) {
if ($objQuestionTmp) {
// deletes the question from all exercises
$objQuestionTmp->delete();
// solving the error that when deleting a question from the question pool it is not displaying all questions
$exerciseId = null;
}
// destruction of the Question object
unset($objQuestionTmp);

Loading…
Cancel
Save