summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rwxr-xr-xlibrary/SSRS/Object/ReportOutput.php3
2 files changed, 3 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
index ba0bf5c..74b2ec4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
+/.idea
/vendor/
/nbproject/
/composer.lock
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) {