This commit is contained in:
Kovid Goyal 2011-03-28 11:26:18 -06:00
commit 0eff1312b6

View File

@ -76,6 +76,8 @@ class CustomColumns(object):
'num':record[6], 'num':record[6],
'is_multiple':record[7], 'is_multiple':record[7],
} }
if data['display'] is None:
data['display'] = {}
table, lt = self.custom_table_names(data['num']) table, lt = self.custom_table_names(data['num'])
if table not in custom_tables or (data['normalized'] and lt not in if table not in custom_tables or (data['normalized'] and lt not in
custom_tables): custom_tables):