Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 87ad96b commit 31230c5Copy full SHA for 31230c5
1 file changed
plugins/generic/search.py
@@ -314,12 +314,13 @@ def searchTable(self):
314
query = agent.limitQuery(index, query)
315
316
foundTbl = unArrayizeValue(inject.getValue(query, union=False, error=False))
317
- kb.hintValue = foundTbl
318
- foundTbl = safeSQLIdentificatorNaming(foundTbl, True)
319
- foundTbls[db].append(foundTbl)
+ if not isNoneValue(foundTbls[db]):
+ kb.hintValue = foundTbl
+ foundTbl = safeSQLIdentificatorNaming(foundTbl, True)
320
+ foundTbls[db].append(foundTbl)
321
322
for db in foundTbls.keys():
- if not foundTbls[db]:
323
+ if isNoneValue(foundTbls[db]):
324
del foundTbls[db]
325
326
if not foundTbls:
0 commit comments