[FIX] share: avoid crash in web addon with empty share filter

bzr revid: odo@openerp.com-20110505161221-d4k3y8v81qz2wbrp
This commit is contained in:
Olivier Dony
2011-05-05 18:12:21 +02:00
parent 80c2244f2e
commit 8fd72aff40
+1 -1
View File
@@ -13,7 +13,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: