Commit c76713ae authored by Jérome Perrin's avatar Jérome Perrin

typo in security definition



git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@9500 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 9c69497f
...@@ -368,7 +368,7 @@ class PDFForm(File): ...@@ -368,7 +368,7 @@ class PDFForm(File):
"""Return true if there is an enclosed PDF in this PDF Form.""" """Return true if there is an enclosed PDF in this PDF Form."""
return self.data is not None and len(self.data) > 0 return self.data is not None and len(self.data) > 0
security.declareProtected(Permissions.ManagePortal, 'downloadPDFContent') security.declareProtected(Permissions.ManagePortal, 'downloadPdfContent')
def downloadPdfContent(self, REQUEST=None) : def downloadPdfContent(self, REQUEST=None) :
"""Download the pdf content from one of `download_url` URL """ """Download the pdf content from one of `download_url` URL """
for url in self.getProperty('download_url') : for url in self.getProperty('download_url') :
......
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