MDL-70324 Question: get_all_response_file_areas() not work correctly

This commit is contained in:
Thong Bui 2020-12-01 16:02:18 +07:00
parent f34b44674f
commit 017b1252ed

View File

@ -432,7 +432,7 @@ abstract class question_engine {
public static function get_all_response_file_areas() {
$variables = array();
foreach (question_bank::get_all_qtypes() as $qtype) {
$variables += $qtype->response_file_areas();
$variables = array_merge($variables, $qtype->response_file_areas());
}
$areas = array();