From d74b80330651c86be16f449ad8f674da032be15c Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Fri, 22 Aug 2014 14:45:23 +0200 Subject: [PATCH] Minor patch --- lib/request/inject.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/request/inject.py b/lib/request/inject.py index 11feeb938..3076423f1 100644 --- a/lib/request/inject.py +++ b/lib/request/inject.py @@ -379,10 +379,11 @@ def getValue(expression, blind=True, union=True, error=True, time=True, fromUser warnMsg += ". Falling back to partial UNION technique" singleTimeWarnMessage(warnMsg) + pushValue(kb.forcePartialUnion) kb.forcePartialUnion = True value = _goUnion(query, unpack, dump) found = (value is not None) or (value is None and expectingNone) - kb.forcePartialUnion = False + kb.forcePartialUnion = popValue() else: singleTimeWarnMessage(warnMsg)