From b880126dd537c06a6a67396d69ec68616dd8b80b Mon Sep 17 00:00:00 2001 From: sparkyx Date: Thu, 6 Apr 2023 19:35:56 +0200 Subject: [PATCH] compatibility PHP8.1 : trim null deprecated --- include/lib/noalyss_csv.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/lib/noalyss_csv.class.php b/include/lib/noalyss_csv.class.php index 181a09175..dce2c9d21 100644 --- a/include/lib/noalyss_csv.class.php +++ b/include/lib/noalyss_csv.class.php @@ -169,7 +169,7 @@ class Noalyss_Csv */ protected function nb($p_number) { - $p_number=trim($p_number); + $p_number=noalyss_trim($p_number); if ($p_number=="") {return $p_number;} if ( isNumber($p_number) == 1 ) { $r=number_format($p_number, 4, $this->sep_dec,'');