web/views/massmailing.py
changeset 8697 574bb05e40a4
parent 8190 2a3c1b787688
child 8719 539ed3fb27cb
--- a/web/views/massmailing.py	Thu Feb 14 16:01:24 2013 +0100
+++ b/web/views/massmailing.py	Thu Feb 14 16:45:07 2013 +0100
@@ -43,7 +43,7 @@
 
     def url(self):
         params = {'vid': 'massmailing', '__force_display': 1}
-        if self._cw.form.has_key('rql'):
+        if 'rql' in self._cw.form:
             params['rql'] = self._cw.form['rql']
         return self._cw.build_url(self._cw.relative_path(includeparams=False),
                                   **params)