minor bug fix

This commit is contained in:
Bernardo Damele 2013-01-02 21:49:15 +00:00
parent cb15fcc8af
commit 3a11d36c66

View File

@ -315,7 +315,7 @@ def checkSqlInjection(place, parameter, value):
# one as we are changing parameters value, which
# will likely result in a different content
if conf.invalidLogical:
origValue = "%s AND %s=%s" % (origValue, randomInt(), randomInt())
origValue = "%s AND %s=%s" % (value, randomInt(), randomInt())
elif conf.invalidBignum:
origValue = "%d.%d" % (randomInt(6), randomInt(1))
else: