Skip to content

Commit

Permalink
One less notice. Bug 5710.
Browse files Browse the repository at this point in the history
  • Loading branch information
stronk7 committed Jun 3, 2006
1 parent 0803379 commit 69b693d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backup/backup_execute.html
Expand Up @@ -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 "<li>".get_string("writingcategoriesandquestions").'</li>';
require_once($CFG->dirroot.'/mod/quiz/backuplib.php');
if (!$status = backup_question_categories($backup_file,$preferences)) {
Expand Down

0 comments on commit 69b693d

Please sign in to comment.