Commit b5cb0228 authored by Jean-Paul Smets's avatar Jean-Paul Smets

Revert mistakenly removed lines.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@22296 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 49aadcdb
......@@ -227,6 +227,9 @@ class WebSection(Domain, PermanentURLMixIn):
if cache is not None:
cache[key] = result
if result is not None:
result = result.__of__(self)
return result
security.declareProtected(Permissions.View, 'getDocumentValueList')
......@@ -256,6 +259,9 @@ class WebSection(Domain, PermanentURLMixIn):
if cache is not None:
cache[key] = result
if result is not None:
result = [doc.__of__(self) for doc in result]
return result
security.declareProtected(Permissions.View, 'getPermanentURL')
......
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