diff --git a/product/ERP5Form/FormulatorPatch.py b/product/ERP5Form/FormulatorPatch.py index 394e453a1d0d72755cd098014ad5385110aa3240..0e33e4709bf399e2d8ae73ac71d2b7401baf7a1e 100644 --- a/product/ERP5Form/FormulatorPatch.py +++ b/product/ERP5Form/FormulatorPatch.py @@ -1528,8 +1528,8 @@ def LinesTextAreaWidget_render(self, field, key, value, REQUEST): LinesTextAreaWidget.render = LinesTextAreaWidget_render original_LinesTextAreaWidget_render_view = LinesTextAreaWidget.render_view -def LinesTextAreaWidget_render_view(self, field, key, value, REQUEST): +def LinesTextAreaWidget_render_view(self, field, value): if isinstance(value, (str, unicode)): value = [value] - return original_LinesTextAreaWidget_render_view(self, field, key, value, REQUEST) + return original_LinesTextAreaWidget_render_view(self, field, value) LinesTextAreaWidget.render_view = LinesTextAreaWidget_render_view