diff --git a/lib/controller/checks.py b/lib/controller/checks.py index d9cbfc917..06e79e0ab 100644 --- a/lib/controller/checks.py +++ b/lib/controller/checks.py @@ -178,7 +178,7 @@ def checkSqlInjection(place, parameter, value): logger.debug(debugMsg) continue - if not (kb.extendTests and intersect(dbms, kb.extendTests)): + elif not (kb.extendTests and intersect(dbms, kb.extendTests)): # Skip test if the risk is higher than the provided (or default) # value # Parse test's