Commit 17b0d8b6 authored by Ivan Tyagov's avatar Ivan Tyagov

Use type based method on current document rather than Web Section to enable...

Use type based method on current document rather than Web Section to enable per portal type permanent URL generation.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@36392 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent ea409a78
...@@ -304,7 +304,7 @@ class WebSection(Domain, PermanentURLMixIn): ...@@ -304,7 +304,7 @@ class WebSection(Domain, PermanentURLMixIn):
except KeyError: except KeyError:
pass pass
result = self._getTypeBasedMethod('getPermanentURL', result = document._getTypeBasedMethod('getPermanentURL',
fallback_script_id='WebSection_getPermanentURL')(document, fallback_script_id='WebSection_getPermanentURL')(document,
view=view) view=view)
......
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