Skip to content
Snippets Groups Projects
Commit d7ae9dd8 authored by Devin Zuczek's avatar Devin Zuczek Committed by Devin Zuczek
Browse files

Issue #2408959 by Sherif Darwish, edboost, djdevin: qnr_id and qnr_pid have restricted characters

parent 8e42c389
No related branches found
No related tags found
No related merge requests found
......@@ -898,21 +898,18 @@ function _quiz_add_questions_to_form(&$form, &$questions, &$quiz, &$question_typ
$form[$fieldset]['weights'][$id] = array(
'#type' => 'textfield',
'#size' => 3,
'#maxlength' => 4,
'#default_value' => isset($question->weight) ? $question->weight : 0,
);
$form[$fieldset]['qnr_pids'][$id] = array(
'#type' => 'textfield',
'#size' => 3,
'#maxlength' => 4,
'#default_value' => $question->qnr_pid,
);
$form[$fieldset]['qnr_ids'][$id] = array(
'#type' => 'textfield',
'#size' => 3,
'#maxlength' => 4,
'#default_value' => $question->qnr_id,
);
......
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