summaryrefslogtreecommitdiffstats
path: root/library/SSRS/Report/CachedStreamResource.php
diff options
context:
space:
mode:
Diffstat (limited to 'library/SSRS/Report/CachedStreamResource.php')
-rw-r--r--library/SSRS/Report/CachedStreamResource.php5
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;
}
}