diff options
Diffstat (limited to 'core/Controller/JsController.php')
-rw-r--r-- | core/Controller/JsController.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Controller/JsController.php b/core/Controller/JsController.php index f02948e47a0..670ca997257 100644 --- a/core/Controller/JsController.php +++ b/core/Controller/JsController.php @@ -96,7 +96,7 @@ class JsController extends Controller { private function getFile(ISimpleFolder $folder, $fileName, &$gzip) { $encoding = $this->request->getHeader('Accept-Encoding'); - if ($encoding !== null && strpos($encoding, 'gzip') !== false) { + if (strpos($encoding, 'gzip') !== false) { try { $gzip = true; return $folder->getFile($fileName . '.gzip'); # Safari doesn't like .gz |