From 3a11d36c662ef19d736da91376ee0d1710974549 Mon Sep 17 00:00:00 2001 From: Bernardo Damele Date: Wed, 2 Jan 2013 21:49:15 +0000 Subject: [PATCH] minor bug fix --- lib/controller/checks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: