From de4c5b12eb264c9a5b8244fac8cea25e01be18be Mon Sep 17 00:00:00 2001
From: xj qian <qianxj15@sina.com>
Date: 星期三, 26 六月 2024 18:34:05 +0800
Subject: [PATCH] update folder data item

---
 jrj/project/business/Product.list.cpp |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/jrj/project/business/Product.list.cpp b/jrj/project/business/Product.list.cpp
index ba30975..6311956 100644
--- a/jrj/project/business/Product.list.cpp
+++ b/jrj/project/business/Product.list.cpp
@@ -95,7 +95,7 @@
 	KXMLDOMElement OnGetCarListRowElement(int row = 0)
 	{
 		if (row < 1) row = dwc_list.GetRow();
-		if (row < 1 || row > dwc_list.GetRowCount()) return 0;
+		if (row < 1 || row > dwc_list.GetRowCount()) return KXMLDOMElement();
 		KXMLDOMElement e = dw_list.GetRowElement(row);
 		return e;
 	}
@@ -1505,7 +1505,6 @@
 	{
 		agentFor = L"goodslib";
 		m_customer = 0;
-		imageElement = 0;
 
 		OnAttachEvent();
 

--
Gitblit v1.9.3