From 26c872c4c2c1e56925f755e927b58fbe07da2bcb Mon Sep 17 00:00:00 2001 From: xj qian <qianxj15@sina.com> Date: 星期五, 19 七月 2024 13:56:44 +0800 Subject: [PATCH] update quote --- jrj/project/start.vframe.vbusiness.cpp | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/jrj/project/start.vframe.vbusiness.cpp b/jrj/project/start.vframe.vbusiness.cpp index f43f0a7..87c8560 100644 --- a/jrj/project/start.vframe.vbusiness.cpp +++ b/jrj/project/start.vframe.vbusiness.cpp @@ -53,8 +53,8 @@ int nRow = dw_list.GetRow(); if (nRow < 0) return L""; KXMLDOMElement ele = dw_list.GetRowElement(nRow); - xstring x = ele.getAttribute(L"category"); - return x; + if (!ele) return L""; + return ele.getAttribute(L"category"); } xstring GetEntityID(LPARAM pr) -- Gitblit v1.9.3