noalyss-commit
[Top][All Lists]
Advanced

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

[Noalyss-commit] [noalyss] 10/17: Bug#2271: Banque : totaux non vérifié


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 10/17: Bug#2271: Banque : totaux non vérifié
Date: Tue, 16 May 2023 14:50:12 -0400 (EDT)

sparkyx pushed a commit to branch master
in repository noalyss.

commit 77f9e7696f6ebac48ca4be6758776dd63fb6a8c3
Author: sparkyx <danydb@noalyss.eu>
AuthorDate: Mon May 1 08:20:41 2023 +0200

    Bug#2271: Banque : totaux non vérifié
---
 include/lib/ac_common.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/lib/ac_common.php b/include/lib/ac_common.php
index b9559d6a8..41b6cfd91 100644
--- a/include/lib/ac_common.php
+++ b/include/lib/ac_common.php
@@ -1532,7 +1532,7 @@ function add_http_link($text)
 
//---------------------------------------------------------------------------------------------------------------------
 
 function noalyss_strlen($p_string) :int{
-    if (empty ($p_string) ) return 0;
+    if ($p_string ==null ) return 0;
     else return strlen($p_string);
 }
 function noalyss_trim($p_string) {
@@ -1540,7 +1540,7 @@ function noalyss_trim($p_string) {
     else return trim($p_string);
 }
 function noalyss_strlentrim($p_string) :int {
-    if (empty($p_string)) return 0;
+    if ($p_string ==null ) return 0;
     return strlen(trim($p_string));
 }
 function noalyss_str_replace($search,$replace,$string) {



reply via email to

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