]> git.mjollnir.org Git - moodle.git/commitdiff
themes: MDL-20013 pluging sheets were not handled correct.\r\rProblem found and fixed...
authortjhunt <tjhunt>
Sat, 8 Aug 2009 08:10:59 +0000 (08:10 +0000)
committertjhunt <tjhunt>
Sat, 8 Aug 2009 08:10:59 +0000 (08:10 +0000)
theme/styles.php

index d94dcfcdde2cd362ce7b21cae6cc59240d5f7345..3b94efd576f1a215eb84965c9e6ec54d6973c445 100644 (file)
@@ -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));
     }
 }