Skip to content
Browse files

quizz MDL-20421 remove php notice when Enable Safe Exam Browser integ…

…ration is not activated
  • Loading branch information...
1 parent e2f5bc4 commit ab1b3440f27e4521dfa5cbc4ff237e7e1c4e9103 jerome committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/quiz/mod_form.php
View
2 mod/quiz/mod_form.php
@@ -197,7 +197,7 @@ function definition() {
$options = array(
0 => get_string('none', 'quiz'),
1 => get_string('popupwithjavascriptsupport', 'quiz'));
- if ($CFG->enablesafebrowserintegration) {
+ if (!empty($CFG->enablesafebrowserintegration)) {
$options[2] = get_string('requiresafeexambrowser', 'quiz');
}
$mform->addElement('select', 'popup', get_string('browsersecurity', 'quiz'), $options);

0 comments on commit ab1b344

Please sign in to comment.
Something went wrong with that request. Please try again.