Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
stamparm committed Nov 6, 2014
1 parent 31f8d6e commit d087565
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion plugins/generic/users.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,9 @@ def getUsers(self):
values = inject.getValue(query, blind=False, time=False)

if not isNoneValue(values):
kb.data.cachedUsers = arrayizeValue(values)
kb.data.cachedUsers = []
for value in arrayizeValue(values):
kb.data.cachedUsers.append(unArrayizeValue(value))

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

0 comments on commit d087565

Please sign in to comment.