Commit 1a8c6b39 authored by Yoshinori Okuji's avatar Yoshinori Okuji

context is not a dict, so setattr must be used instead. desole.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@15478 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 0068ca32
......@@ -2126,7 +2126,7 @@ class Base( CopyContainer,
# As ERP5 does not use Zope sessions, it is better to skip SESSION.
for k in REQUEST.keys():
if k != 'SESSION':
context[k] = REQUEST[k]
setattr(context, k, REQUEST[k])
# Define local properties
if kw is not None: context.__dict__.update(kw)
# Make it a temp content
......
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