Commit 7c93301a authored by Tomáš Peterka's avatar Tomáš Peterka

[erp5_core] Make one more script forward-compatible

parent 7b154b24
......@@ -15,6 +15,4 @@ if 1: # keep indentation
if getattr(message, 'msg', None) and same_type(message.msg, []):
message = '. '.join('%s' % x for x in message.msg)
if not batch :
context.REQUEST.RESPONSE.redirect(
"%s/view?portal_status_message=%s" %
(context.absolute_url(), message))
return context.Base_redirect(keep_items={'portal_status_message': str(message)})
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment