From 7ad8eea3dedb2619a9a2771206dff90d1b5154e2 Mon Sep 17 00:00:00 2001
From: Prasad <prasad@vtiger.com>
Date: Tue, 11 Oct 2022 17:47:38 +0530
Subject: [PATCH] Fixed: Uninitialized variable in portal model

---
 modules/Portal/models/ListView.php | 1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/Portal/models/ListView.php b/modules/Portal/models/ListView.php
index 291f2ea58..bd1af6753 100644
--- a/modules/Portal/models/ListView.php
+++ b/modules/Portal/models/ListView.php
@@ -44,6 +44,7 @@ class Portal_ListView_Model extends Vtiger_ListView_Model {
         }
         $pagingModel->calculatePageRange($listViewEntries);
         $index = 0;
+        $listViewRecordModels = array();
 		foreach($listViewEntries as $recordId => $record) {
 			$rawData = $db->query_result_rowdata($listResult, $index++);
 			$record['id'] = $recordId;
-- 
GitLab