Skip to content

Commit

Permalink
Merge branch 'MDL-70324-master' of https://github.com/JBThong/moodle
Browse files Browse the repository at this point in the history
  • Loading branch information
snake committed Dec 14, 2020
2 parents c307f3b + 017b125 commit 5c10b07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion question/engine/lib.php
Original file line number Diff line number Diff line change
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 5c10b07

Please sign in to comment.