summaryrefslogtreecommitdiffstats
path: root/library/SSRS/Object/ReportOutput.php
diff options
context:
space:
mode:
Diffstat (limited to 'library/SSRS/Object/ReportOutput.php')
-rwxr-xr-xlibrary/SSRS/Object/ReportOutput.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/library/SSRS/Object/ReportOutput.php b/library/SSRS/Object/ReportOutput.php
index 7522edd..1b60351 100755
--- a/library/SSRS/Object/ReportOutput.php
+++ b/library/SSRS/Object/ReportOutput.php
@@ -31,7 +31,8 @@ class ReportOutput extends ObjectAbstract {
}
public function getStreamIds() {
- return is_array($this->StreamIds->string) ? $this->StreamIds->string : array($this->StreamIds->string);
+ $ids = is_array($this->StreamIds->string) ? $this->StreamIds->string : array($this->StreamIds->string);
+ return array_filter($ids);
}
public function download($filename) {