diff --git a/tjreports/site/models/reports.php b/tjreports/site/models/reports.php index 0fe3b80..0dbdaa3 100755 --- a/tjreports/site/models/reports.php +++ b/tjreports/site/models/reports.php @@ -561,7 +561,11 @@ protected function populateState($ordering = '', $direction = 'ASC') $reportParams = $this->getReportParams($reportId); $colToshow = (array) $reportParams->get("colToshow"); $piiColumns = (array) $reportParams->get("piiColumns"); - $piiColumns = array_flip($piiColumns); + + if ($reportParams->get("piiColumns")) + { + $piiColumns = array_flip($piiColumns); + } if (!empty($piiColumns)) {