noalyss-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Noalyss-commit] [noalyss] 04/04: compatibility PHP8.1 : trim null depre


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 04/04: compatibility PHP8.1 : trim null deprecated
Date: Thu, 27 Apr 2023 12:06:43 -0400 (EDT)

sparkyx pushed a commit to branch master
in repository noalyss.

commit b880126dd537c06a6a67396d69ec68616dd8b80b
Author: sparkyx <danydb@noalyss.eu>
AuthorDate: Thu Apr 6 19:35:56 2023 +0200

    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,'');



reply via email to

[Prev in Thread] Current Thread [Next in Thread]