make records field more fault tolerant
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@3242 fd906abe-77d9-0310-91a1-e0d9ade77398
This commit is contained in:
		
							parent
							
								
									6c123d7281
								
							
						
					
					
						commit
						30d6ee0353
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -81,7 +81,7 @@ class GridFieldInstance(ListFieldInstance): | |||
|         for item in value or []: | ||||
|             row = [] | ||||
|             for fi in self.columnFieldInstances: | ||||
|                 row.append(fi.display(item[fi.name])) | ||||
|                 row.append(fi.display(item.get(fi.name))) | ||||
|             rows.append(row) | ||||
|         return dict(headers=headers, rows=rows) | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 helmutm
						helmutm