Merge pull request #1260 from jloguercio/1.11.x

Minor Fix to avoid notices when you adding questions in a test
remotes/angel/1.11.x
José Loguercio 9 years ago committed by GitHub
commit d26493beb0
  1. 2
      main/exercise/question_list_admin.inc.php

@ -165,7 +165,7 @@ if (!$inATest) {
//$questionList = $objExercise->getQuestionListWithMediasUncompressed();
// Show all questions no matter the category settings.
$tempCategoryOrder = $objExercise->specialCategoryOrders ? $objExercise->specialCategoryOrders : false;
$tempCategoryOrder = isset($objExercise->specialCategoryOrders) ? $objExercise->specialCategoryOrders : false;
$objExercise->specialCategoryOrders = false;
$questionList = $objExercise->selectQuestionList(true);
$objExercise->specialCategoryOrders = $tempCategoryOrder;

Loading…
Cancel
Save