From d087565051b9b1074850b9e83c229d880dd966c8 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Thu, 6 Nov 2014 11:41:10 +0100 Subject: [PATCH] Fix for Issues #905 and #906 --- plugins/generic/users.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/plugins/generic/users.py b/plugins/generic/users.py index 94599c8bbdb..1e7043c53d4 100644 --- a/plugins/generic/users.py +++ b/plugins/generic/users.py @@ -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"