dbnschools/moodle-theme_fordson

Display bug

jrm-unamur opened this issue · 2 comments

Hi there,

When config param courseoverviewfileslimit is 0 (adminsettings/appearance/course), "Array" is displayed before


Function "headerimage()" in forsdon's core_renderer should return empty string instead of array() at line 109;
Regards

Fixed in next upcoming release 1.5.3
if (empty($CFG->courseoverviewfileslimit)) {
if ($CFG->courseoverviewfileslimit == 0) {
return '';
}
return array();
}

if (empty($CFG->courseoverviewfileslimit)) {
return '';
}