From 0f4de002a26600d2c6f509fda3c413c141eda952 Mon Sep 17 00:00:00 2001 From: stronk7 Date: Sat, 3 Jun 2006 19:45:19 +0000 Subject: [PATCH] One less notice. Bug 5710. (http://moodle.org/bugs/bug.php?op=show&bugid=5710) Merged from MOODLE_16_STABLE --- backup/backup_execute.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) { -- 2.39.5