From cb5cb9088959e19e6983d0da4d0d183a03f210a7 Mon Sep 17 00:00:00 2001 From: Sam Minnee Date: Mon, 4 Oct 2010 05:49:33 +0000 Subject: [PATCH] BUGFIX #5135 LeftAndMain extra requirements loading for "themedcss" should use Requirements::themedCSS() not Requirements::css() - thanks Hamish! (from r100394) git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@111623 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- code/LeftAndMain.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/LeftAndMain.php b/code/LeftAndMain.php index 2b88a6b5..61d95bfd 100644 --- a/code/LeftAndMain.php +++ b/code/LeftAndMain.php @@ -264,7 +264,7 @@ class LeftAndMain extends Controller { } foreach (self::$extra_requirements['themedcss'] as $file) { - Requirements::css($file[0], $file[1]); + Requirements::themedCSS($file[0], $file[1]); } Requirements::css(CMS_DIR . '/css/unjquery.css');