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

Skip to content

Commit 821e4bf

Browse files
committed
Patch for an Issue #987
1 parent e4b00bd commit 821e4bf

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

plugins/generic/users.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,9 @@ def getUsers(self):
103103
if not isNoneValue(values):
104104
kb.data.cachedUsers = []
105105
for value in arrayizeValue(values):
106-
kb.data.cachedUsers.append(unArrayizeValue(value))
106+
value = unArrayizeValue(value)
107+
if not isNoneValue(value):
108+
kb.data.cachedUsers.append(value)
107109

108110
if not kb.data.cachedUsers and isInferenceAvailable() and not conf.direct:
109111
infoMsg = "fetching number of database users"

0 commit comments

Comments
 (0)