Minor patch related to the Issue #1025

This commit is contained in:
Miroslav Stampar 2014-12-13 23:37:04 +01:00
parent 5166675ff5
commit b42a15d876

View File

@ -10,6 +10,7 @@ from lib.core.common import filterPairValues
from lib.core.common import isTechniqueAvailable
from lib.core.common import randomStr
from lib.core.common import safeSQLIdentificatorNaming
from lib.core.common import unArrayizeValue
from lib.core.common import unsafeSQLIdentificatorNaming
from lib.core.data import conf
from lib.core.data import kb
@ -67,6 +68,8 @@ class Enumeration(GenericEnumeration):
users = kb.data.cachedUsers
for user in users:
user = unArrayizeValue(user)
if user is None:
continue