MDL-24408 extra_answer_fields : get answers even if they miss extra data
authorOleg Sychev <oasychev@gmail.com>
Fri, 24 Jan 2014 20:30:41 +0000 (23:30 +0300)
committerOleg Sychev <oasychev@gmail.com>
Thu, 27 Mar 2014 21:26:59 +0000 (00:26 +0300)
commit6276672854b5e790b4ff3f67dddff8be65484271
tree9e95d11b6937d847563e7fa98f1eba367cf7a557
parentad32dda90c21dbca464df2ee2a10c7e3a8a3fd9a
MDL-24408 extra_answer_fields : get answers even if they miss extra data

Extra answer data may be optional, saving DB space - i.e. not every row in
question_answers will have respective row in extra answers table. Current
implementation of question_type::get_question_options() won't return such
answers at all. This commit fix that, changing join type for db query.

Also fixed coding style violation in the variable name in get_question_options.
question/type/questiontypebase.php