From be5604b539e8a0d64f614a16fcd42c0489772059 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Mon, 3 Jan 2022 22:48:18 +0100 Subject: [PATCH] Ensure active_ids is always a list issue11088 review395191003 (grafted from 24eab059161d2194fc16a900ef397c0ba406b9b3) --HG-- branch : 6.0 --- src/action.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/action.js b/src/action.js index 52b97b39c0..1268e7b049 100644 --- a/src/action.js +++ b/src/action.js @@ -73,7 +73,7 @@ var ctx = { active_model: data.model || null, active_id: data.id || null, - active_ids: data.ids + active_ids: data.ids || [], }; ctx = jQuery.extend(ctx, session.context); ctx._user = session.user_id;