Patch for an Issue #961

This commit is contained in:
Miroslav Stampar 2014-11-23 15:33:04 +01:00
parent 5c182a0ec4
commit 40eb1973d7

View File

@ -14,6 +14,7 @@ from lib.core.common import isNoneValue
from lib.core.common import isNumPosStrValue
from lib.core.common import isTechniqueAvailable
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
@ -49,6 +50,8 @@ class Enumeration(GenericEnumeration):
users = kb.data.cachedUsers
for user in users:
user = unArrayizeValue(user)
if user is None:
continue