Skip to content
Snippets Groups Projects
Commit 6d4bbd17 authored by Michael Mol's avatar Michael Mol Committed by Devin Zuczek
Browse files

Issue #2406541 by michaelmol: Notice: Undefined index: new_revision in quiz_questions_form_submit()

parent d7ae9dd8
No related branches found
No related tags found
No related merge requests found
......@@ -1181,7 +1181,7 @@ function quiz_questions_form_submit($form, &$form_state) {
$is_new_revision = quiz_has_been_answered($quiz);
}
else {
$is_new_revision = (bool) $form_state['values']['new_revision'];
$is_new_revision = !empty($form_state['values']['new_revision']);
}
_quiz_question_browser_submit($form, $form_state);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment