]> git.mjollnir.org Git - moodle.git/commitdiff
One less notice. Bug 5710.
authorstronk7 <stronk7>
Sat, 3 Jun 2006 19:45:19 +0000 (19:45 +0000)
committerstronk7 <stronk7>
Sat, 3 Jun 2006 19:45:19 +0000 (19:45 +0000)
(http://moodle.org/bugs/bug.php?op=show&bugid=5710)

Merged from MOODLE_16_STABLE

backup/backup_execute.html

index a7a6f9318736f64c1de4cbf10740cf63e536e291..826658605fe4be1b34783b254c6c6caf321b8d7c 100644 (file)
 
         //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 "<li>".get_string("writingcategoriesandquestions").'</li>';
             require_once($CFG->dirroot.'/mod/quiz/backuplib.php');
             if (!$status = backup_question_categories($backup_file,$preferences)) {