diff --git a/code/libraries/koowa/libraries/dispatcher/response/abstract.php b/code/libraries/koowa/libraries/dispatcher/response/abstract.php index 0480c59e92..0bb0226d3f 100644 --- a/code/libraries/koowa/libraries/dispatcher/response/abstract.php +++ b/code/libraries/koowa/libraries/dispatcher/response/abstract.php @@ -265,9 +265,9 @@ public function isStreamable() { $request = $this->getRequest(); - $isPDF = (bool) $this->getContentType() == 'application/pdf'; - $isInline = (bool) !$request->isDownload(); - $isSeekable = (bool) $this->getStream()->isSeekable(); + $isPDF = $this->getContentType() == 'application/pdf'; + $isInline = !$request->isDownload(); + $isSeekable = $this->getStream()->isSeekable(); if(!($isPDF && $isInline) && $isSeekable) {