diff --git a/pkg/vtiger/modules/CustomerPortal/modules/CustomerPortal/helpers/Utils.php b/pkg/vtiger/modules/CustomerPortal/modules/CustomerPortal/helpers/Utils.php index cb5a6fcc21a0ae4445db1d9b8a21140e04e7501d..f2f3b5d1b2fbc081a2dfe77e532bc3edbc90fa15 100644 --- a/pkg/vtiger/modules/CustomerPortal/modules/CustomerPortal/helpers/Utils.php +++ b/pkg/vtiger/modules/CustomerPortal/modules/CustomerPortal/helpers/Utils.php @@ -62,7 +62,7 @@ class CustomerPortal_Utils { $sqlResult = $adb->pquery($sql, array(0, 1)); for ($i = 0; $i < $adb->num_rows($sqlResult); $i++) { - if(!is_array($activeModules))$activeModules = []; + if(!is_array($activeModules))$activeModules = array(); $activeModules[] = $adb->query_result($sqlResult, $i, 'name'); } //Checking if module is active at Module Manager