noalyss-commit
[Top][All Lists]
Advanced

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

[Noalyss-commit] [noalyss] 07/07: Compatibility 7.4 , 0 is considered as


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 07/07: Compatibility 7.4 , 0 is considered as NULL , not in 8.1
Date: Sat, 27 Aug 2022 08:03:46 -0400 (EDT)

sparkyx pushed a commit to branch master
in repository noalyss.

commit 30359ca4b323ac448ee9e3faf790e42c594d7842
Author: sparkyx <danydb@noalyss.eu>
AuthorDate: Sat Aug 27 11:34:49 2022 +0200

    Compatibility 7.4 , 0 is considered as NULL , not in 8.1
---
 include/lib/ac_common.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/lib/ac_common.php b/include/lib/ac_common.php
index 0c65d0689..0f046d548 100644
--- a/include/lib/ac_common.php
+++ b/include/lib/ac_common.php
@@ -34,7 +34,7 @@ require_once NOALYSS_INCLUDE.'/lib/function_javascript.php';
  */
 function h($p_string)
 {
-    return ( $p_string == 
null)?"":htmlspecialchars($p_string,ENT_QUOTES|ENT_HTML5,'UTF-8',true);
+    return ( $p_string === 
null)?"":htmlspecialchars($p_string,ENT_QUOTES|ENT_HTML5,'UTF-8',true);
 }
 function p($p_string)
 {



reply via email to

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