From 215cd58827cd001837e006095d1b7b6238edb98a Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Fri, 3 Mar 2023 11:53:21 +0100 Subject: [PATCH 1/2] Fix for #24094 --- htdocs/accountancy/class/accountancycategory.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/accountancy/class/accountancycategory.class.php b/htdocs/accountancy/class/accountancycategory.class.php index 942ae56f807..d6e0d675a0e 100644 --- a/htdocs/accountancy/class/accountancycategory.class.php +++ b/htdocs/accountancy/class/accountancycategory.class.php @@ -743,7 +743,7 @@ class AccountancyCategory // extends CommonObject } $listofaccount .= "'".$cptcursor."'"; } - $sql .= " AND t.numero_compte IN (".$this->db->sanitize($listofaccount).")"; + $sql .= " AND t.numero_compte IN (".$this->db->sanitize($listofaccount, 1).")"; } else { $sql .= " AND t.numero_compte = '".$this->db->escape($cpt)."'"; } From 50d4f2d90fdfbd48ca8f3cc9ec343be4278d2b4d Mon Sep 17 00:00:00 2001 From: Nicolas Date: Fri, 3 Mar 2023 12:00:24 +0100 Subject: [PATCH 2/2] FIX select for task in event card --- htdocs/comm/action/card.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/comm/action/card.php b/htdocs/comm/action/card.php index e3923cfb8d0..f6ee64d3a6b 100644 --- a/htdocs/comm/action/card.php +++ b/htdocs/comm/action/card.php @@ -1257,7 +1257,7 @@ if ($action == 'create') { print "\n".'