MDL-68341 core_table: fix wrong participanttablehtml variable name

This commit is contained in:
Simey Lameze 2020-04-20 06:23:01 +08:00
parent ad176d6f0a
commit fb17c31c46

View File

@ -227,11 +227,11 @@ class fetch extends external_api {
ob_start();
$instance->out($pagesize, true);
$participanttablehtml = ob_get_contents();
$tablehtml = ob_get_contents();
ob_end_clean();
return [
'html' => $participanttablehtml,
'html' => $tablehtml,
'warnings' => []
];
}