Skip to content
Browse files

Added simplified aliases for answer types, as proposed by Thomas Robb…

…. It is now possible to use these aliases:

SHORTANSWER = SA = MW ;
NUMERICAL = NM ;
MULTICHOICE = MC
  • Loading branch information...
1 parent 565e970 commit b63519ebda1cac0aab80f4524316345d1f97b718 kaipe committed Nov 20, 2003
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/quiz/format/multianswer.php
View
2 mod/quiz/format/multianswer.php
@@ -46,7 +46,7 @@
// Remaining ANSWER regexes
define("ANSWER_TYPE_DEF_REGEX",
- '(NUMERICAL)|(MULTICHOICE)|(SHORTANSWER)');
+ '(NUMERICAL|NM)|(MULTICHOICE|MC)|(SHORTANSWER|SA|MW)');
define("ANSWER_START_REGEX",
'\{([0-9]*):(' . ANSWER_TYPE_DEF_REGEX . '):');

0 comments on commit b63519e

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