bug fix (when comment is None this was errornous)

This commit is contained in:
Miroslav Stampar 2011-08-17 10:58:29 +00:00
parent 9361e633f4
commit f46baac70b

View File

@ -450,7 +450,7 @@ def checkSqlInjection(place, parameter, value):
injection.os = Backend.setOs(dValue) injection.os = Backend.setOs(dValue)
if vector is None and "vector" in test and test.vector is not None: if vector is None and "vector" in test and test.vector is not None:
vector = "%s%s" % (test.vector, comment) vector = "%s%s" % (test.vector, comment or "")
injection.data[stype] = AttribDict() injection.data[stype] = AttribDict()
injection.data[stype].title = title injection.data[stype].title = title