Skip to content

Commit

Permalink
MDL-70324 Question: get_all_response_file_areas() not work correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
Thong Bui authored and Thong Bui committed Dec 1, 2020
1 parent f34b446 commit 017b125
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion question/engine/lib.php
Expand Up @@ -432,7 +432,7 @@ public static function get_behaviour_name($behaviour) {
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();
Expand Down

0 comments on commit 017b125

Please sign in to comment.