mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 08:26:37 +02:00
MDL-70324 Question: get_all_response_file_areas() not work correctly
This commit is contained in:
parent
4825c139ef
commit
95c3de0877
1 changed files with 1 additions and 1 deletions
|
@ -432,7 +432,7 @@ abstract class question_engine {
|
||||||
public static function get_all_response_file_areas() {
|
public static function get_all_response_file_areas() {
|
||||||
$variables = array();
|
$variables = array();
|
||||||
foreach (question_bank::get_all_qtypes() as $qtype) {
|
foreach (question_bank::get_all_qtypes() as $qtype) {
|
||||||
$variables += $qtype->response_file_areas();
|
$variables = array_merge($variables, $qtype->response_file_areas());
|
||||||
}
|
}
|
||||||
|
|
||||||
$areas = array();
|
$areas = array();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue