From 2d115e035054130d669adb78109ad3fcb350c445 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Fri, 24 Dec 2010 18:44:13 +0000 Subject: [PATCH] one more fix --- lib/controller/handler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/controller/handler.py b/lib/controller/handler.py index 042c725f1..9d37b8878 100644 --- a/lib/controller/handler.py +++ b/lib/controller/handler.py @@ -65,7 +65,7 @@ def setHandler(): inferencedDbms = (kb.htmlFp[-1] if kb.htmlFp else None) or kb.dbms for injection in kb.injections: - if hasattr(injection, "dbms"): + if hasattr(injection, "dbms") and injection.dbms: inferencedDbms = injection.dbms break