Minor bug fix

This commit is contained in:
Bernardo Damele 2010-12-08 23:09:42 +00:00
parent 54f6673609
commit 10ef2b5de8

View File

@ -160,7 +160,7 @@ def checkSqlInjection(place, parameter, value):
clauseMatch = True
break
if clause != [ 0 ] and injection.clause and not clauseMatch:
if clause != [ 0 ] and injection.clause and injection.clause != [ 0 ] and not clauseMatch:
debugMsg = "skipping test '%s' because the clauses " % title
debugMsg += "differs from the clause already identified"
logger.debug(debugMsg)