From 3a3f9c5ea10453b21426191cc7334afb3ed68bd5 Mon Sep 17 00:00:00 2001
From: stamparm <miroslav.stampar@gmail.com>
Date: Fri, 1 Mar 2013 12:09:03 +0100
Subject: [PATCH] Trivial commit related to the last one

---
 lib/controller/checks.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lib/controller/checks.py b/lib/controller/checks.py
index 28def5093..4890559a0 100644
--- a/lib/controller/checks.py
+++ b/lib/controller/checks.py
@@ -328,7 +328,8 @@ 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" % (value, randomInt(), randomInt())
+                            _ = randomInt(2)
+                            origValue = "%s AND %s=%s" % (value, _, _ + 1)
                         elif conf.invalidBignum:
                             origValue = "%d.%d" % (randomInt(6), randomInt(1))
                         else: