mirror of
https://github.com/moodle/moodle.git
synced 2025-01-17 21:49:15 +01:00
MDL-45084 theme: File was not chunked on IE
This only applied when themedesignermode was disabled, because the first chunk is 0, but 0 is resolved to false. We needed to compare $chunk with null in order to know if it was set.
This commit is contained in:
parent
069fe267b6
commit
034dbd7588
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user