From e732fa4bb8a76604be982e0c3d7d6042d683be16 Mon Sep 17 00:00:00 2001 From: David Durieux Date: Thu, 11 Apr 2024 23:57:47 +0200 Subject: [PATCH] Fix --- inc/deployuserinteraction.class.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/inc/deployuserinteraction.class.php b/inc/deployuserinteraction.class.php index 3d01aa15b..96d95c8cd 100644 --- a/inc/deployuserinteraction.class.php +++ b/inc/deployuserinteraction.class.php @@ -373,7 +373,9 @@ function check_data_from_form() { */ function add_item($params) { //Add to package defintion - return $this->addToPackage($params['id'], $params, 'userinteractions'); + $id = $params['id']; + unset($params['id']); + return $this->addToPackage($id, $params, 'userinteractions'); }