summaryrefslogtreecommitdiff
path: root/addons/share/web/controllers.py
diff options
context:
space:
mode:
authorOlivier Dony <odo@openerp.com>2011-05-05 19:03:12 +0200
committerOlivier Dony <odo@openerp.com>2011-05-05 19:03:12 +0200
commit0870f6e3d5c224fc5f4e01cb3f4c507dd951d540 (patch)
tree2c89caa4cc9ebf13796e339368ca47529d3f6ec6 /addons/share/web/controllers.py
parent3cd35d55863903218a35d9079ffb8bb666cf3546 (diff)
[FIX] share: avoid crash in web addon with empty share filter
bzr revid: odo@openerp.com-20110505170312-zft5wiszaxng8n6q
Diffstat (limited to 'addons/share/web/controllers.py')
-rw-r--r--addons/share/web/controllers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/share/web/controllers.py b/addons/share/web/controllers.py
index 80d4e397aba..e682c8d9709 100644
--- a/addons/share/web/controllers.py
+++ b/addons/share/web/controllers.py
@@ -12,7 +12,7 @@ class ShareWizardController(openerp.controllers.SecuredController):
_cp_path = "/share"
@expose()
- def index(self, domain, search_domain, context, view_id, action_id=None):
+ def index(self, domain, context, view_id, search_domain='[]', action_id=None):
context = ast.literal_eval(context)
if not action_id: