From 026f9cf403d5e92cea0f43912797f3d1541766cd Mon Sep 17 00:00:00 2001 From: 502647092 Date: Wed, 11 Nov 2015 12:44:32 +0800 Subject: [PATCH] =?UTF-8?q?url=E4=B8=BA=E7=A9=BA=E5=88=99=E6=8E=A8?= =?UTF-8?q?=E5=87=BA...?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 502647092 --- HttpHelper.bas | 2 ++ 1 file changed, 2 insertions(+) diff --git a/HttpHelper.bas b/HttpHelper.bas index ee63746..ac908b6 100644 --- a/HttpHelper.bas +++ b/HttpHelper.bas @@ -157,6 +157,8 @@ Public Function GetData(ByVal url As String, Optional ByVal DataStic As DataEnum If Not IsObject(XmlHttp) Then Exit Function End If + If url = "" Then Exit Function + XmlHttp.Open "get", url, True XmlHttp.Send