diff options
Diffstat (limited to 'library/SSRS/Object/ReportOutput.php')
-rwxr-xr-x | library/SSRS/Object/ReportOutput.php | 3 |
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) { |