Merge branch 'MDL-45084-master' of git://github.com/FMCorz/moodle
authorDan Poltawski <dan@moodle.com>
Tue, 15 Apr 2014 03:05:37 +0000 (11:05 +0800)
committerDan Poltawski <dan@moodle.com>
Tue, 15 Apr 2014 03:05:37 +0000 (11:05 +0800)
theme/styles.php

index 8020321..9c48897 100644 (file)
@@ -198,7 +198,7 @@ if (!$cache) {
     // let's ignore legacy IE breakage here too.
     css_send_uncached_css($csscontent);
 
-} else if ($chunk and file_exists($candidatesheet)) {
+} else if ($chunk !== null and file_exists($candidatesheet)) {
     // Greetings stupid legacy IEs!
     css_send_cached_css($candidatesheet, $etag);