Fix for an user reported bug (tbl can be None)

This commit is contained in:
Miroslav Stampar 2013-06-16 12:35:05 +02:00
parent 63d0e9bb12
commit c2dce66a46

View File

@ -430,7 +430,7 @@ class Search:
for db, tbl in filterPairValues(values):
db = safeSQLIdentificatorNaming(db)
tbls = tbl.split(",")
tbls = tbl.split(",") if not isNoneValue(tbl) else []
for tbl in tbls:
tbl = safeSQLIdentificatorNaming(tbl, True)