diff options
Diffstat (limited to 'library/SSRS/Report/CachedStreamResource.php')
-rw-r--r-- | library/SSRS/Report/CachedStreamResource.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/library/SSRS/Report/CachedStreamResource.php b/library/SSRS/Report/CachedStreamResource.php index 013eaee..949c6d7 100644 --- a/library/SSRS/Report/CachedStreamResource.php +++ b/library/SSRS/Report/CachedStreamResource.php @@ -39,9 +39,8 @@ class CachedStreamResource { public function send() { $stream = $this->read(); - - header('Content-Type: ' . $stream->MimeType); - echo $stream->Result; + $stream->send(); + return $this; } } |