Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 75edb84

Browse files
committed
Minor update
1 parent 58ad2f1 commit 75edb84

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

lib/techniques/error/use.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
from lib.core.common import isNumPosStrValue
2626
from lib.core.common import listToStrValue
2727
from lib.core.common import readInput
28+
from lib.core.common import unArrayizeValue
2829
from lib.core.convert import hexdecode
2930
from lib.core.convert import htmlunescape
3031
from lib.core.data import conf
@@ -262,7 +263,7 @@ def errorUse(expression, dump=False):
262263
countedExpression = countedExpression[:_]
263264

264265
_, _, _, _, _, _, countedExpressionFields, _ = agent.getFields(countedExpression)
265-
count = _oneShotErrorUse(countedExpression, countedExpressionFields)
266+
count = unArrayizeValue(_oneShotErrorUse(countedExpression, countedExpressionFields))
266267

267268
if isNumPosStrValue(count):
268269
if isinstance(stopLimit, int) and stopLimit > 0:

0 commit comments

Comments
 (0)