MDL-67115 core: php74 params order for implode()/join()

Passing parameters to implode() in reverse order is deprecated, use
implode($glue, $parts) instead of implode($parts, $glue).

This commit corresponds to phpunit and manual detections, core files.
This commit is contained in:
Eloy Lafuente (stronk7)
2020-01-19 18:47:07 +01:00
parent fd126006b0
commit ee439d017e
13 changed files with 18 additions and 18 deletions
+1 -1
View File
@@ -552,7 +552,7 @@ abstract class list_item {
} else {
$childrenhtml = '';
}
return $this->item_html($extraargs).' '.(join($this->icons, '')).(($childrenhtml !='')?("\n".$childrenhtml):'');
return $this->item_html($extraargs).' '.(join('', $this->icons)).(($childrenhtml !='')?("\n".$childrenhtml):'');
}
public function set_icon_html($first, $last, $lastitem) {