From f54cf5790fdf541f346f88df3403d05742f4d5eb Mon Sep 17 00:00:00 2001 From: Heng Sin Low Date: Wed, 17 Jan 2007 09:39:42 +0000 Subject: [PATCH] [ 1637432 ] Relogin using wan connection profile failed --- dbPort/src/org/compiere/util/DB.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dbPort/src/org/compiere/util/DB.java b/dbPort/src/org/compiere/util/DB.java index 3eb71f3689..5ac7c34a30 100644 --- a/dbPort/src/org/compiere/util/DB.java +++ b/dbPort/src/org/compiere/util/DB.java @@ -276,6 +276,9 @@ public final class DB */ public static boolean isConnected(boolean createNew) { + //bug [1637432] + if (s_cc == null) return false; + //wan profile if (DB.isRemoteObjects()) return true;