Do not use has_key.
svn path=/plone.app.discussion/trunk/; revision=40536
This commit is contained in:
parent
43bd68a6df
commit
94584429fd
@ -175,7 +175,7 @@ class BulkActionsView(BrowserView):
|
||||
|
||||
def __call__(self):
|
||||
|
||||
if self.request.has_key('form.select.BulkAction'):
|
||||
if 'form.select.BulkAction' in self.request:
|
||||
|
||||
bulkaction = self.request.get('form.select.BulkAction')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user