From: tjhunt Date: Sat, 8 Aug 2009 08:10:59 +0000 (+0000) Subject: themes: MDL-20013 pluging sheets were not handled correct. Problem found and fixed... X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=1a192cf0311f10760740d35d1119021f0a43d111;p=moodle.git themes: MDL-20013 pluging sheets were not handled correct. Problem found and fixed thanks to Mark Johnson. --- diff --git a/theme/styles.php b/theme/styles.php index d94dcfcdde..3b94efd576 100644 --- a/theme/styles.php +++ b/theme/styles.php @@ -116,7 +116,7 @@ $files = array(); // here can be overridden by theme CSS. if ($pluginsheets) { foreach ($THEME->pluginsheets as $plugintype) { - $files += get_sheets_for_plugin_type($plugintype); + $files = array_merge($files, get_sheets_for_plugin_type($plugintype)); } }