Ensure active_ids is always a list
issue11088 review395191003
This commit is contained in:
1 parent
642870837e
commit
efa034004a
1 file changed
+1
-1
@@ -104,7 +104,7 @@ class Action(object):
|
||||
ctx = {
|
||||
'active_model': data.get('model'),
|
||||
'active_id': data.get('id'),
|
||||
'active_ids': data.get('ids', []),
|
||||
'active_ids': data.get('ids') or [],
|
||||
}
|
||||
ctx.update(rpc.CONTEXT)
|
||||
ctx['_user'] = rpc._USER
|
||||
|
||||
Reference in new issue
Block a user