Fix for new view_header_get args

This commit is contained in:
Cédric Krier committed 2008-05-23 12:44:12 +02:00
1 parent d707f28574
commit b9b7909092
1 file changed
+1 -1
+1 -1
View File
@@ -1036,7 +1036,7 @@ class Line(OSV):
view_id=view_id, view_type=view_type, context=context,
toolbar=toolbar, hexmd5=hexmd5)
if view_type == 'tree' and 'journal' in context:
title = self.view_header_get(cursor, user, view_id=view_id,
title = self.view_header_get(cursor, user, '',
view_type=view_type, context=context)
journal = journal_obj.browse(cursor, user, context['journal'],
context=context)