diff --git a/lib/controller/checks.py b/lib/controller/checks.py index e83904e69..7d51faaf5 100644 --- a/lib/controller/checks.py +++ b/lib/controller/checks.py @@ -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: