diff options
Diffstat (limited to 'library/SSRS')
-rwxr-xr-x | library/SSRS/Object/ReportOutput.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/library/SSRS/Object/ReportOutput.php b/library/SSRS/Object/ReportOutput.php index 1b60351..c7f0be2 100755 --- a/library/SSRS/Object/ReportOutput.php +++ b/library/SSRS/Object/ReportOutput.php @@ -31,6 +31,10 @@ class ReportOutput extends ObjectAbstract { } public function getStreamIds() { + if(empty($this->StreamIds->string)){ + return array(); + } + $ids = is_array($this->StreamIds->string) ? $this->StreamIds->string : array($this->StreamIds->string); return array_filter($ids); } |