From: stronk7 Date: Sat, 3 Jun 2006 19:45:19 +0000 (+0000) Subject: One less notice. Bug 5710. X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=0f4de002a26600d2c6f509fda3c413c141eda952;p=moodle.git One less notice. Bug 5710. (http://moodle.org/bugs/bug.php?op=show&bugid=5710) Merged from MOODLE_16_STABLE --- diff --git a/backup/backup_execute.html b/backup/backup_execute.html index a7a6f93187..826658605f 100644 --- a/backup/backup_execute.html +++ b/backup/backup_execute.html @@ -145,7 +145,7 @@ //If we have selected to backup quizzes, backup categories and //questions structure (step 1). See notes on mod/quiz/backuplib.php - if ($status and $preferences->mods['quiz']->backup) { + if ($status and !empty($preferences->mods['quiz']->backup)) { echo "
  • ".get_string("writingcategoriesandquestions").'
  • '; require_once($CFG->dirroot.'/mod/quiz/backuplib.php'); if (!$status = backup_question_categories($backup_file,$preferences)) {