noalyss-commit
[Top][All Lists]
Advanced

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

[Noalyss-commit] [noalyss] 40/44: PHP 7.2 : sizeof attribut


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 40/44: PHP 7.2 : sizeof attribut
Date: Wed, 26 Dec 2018 04:29:57 -0500 (EST)

sparkyx pushed a commit to branch master
in repository noalyss.

commit c373d5d576cdd332526c74c07e0528e99909a60a
Author: Dany De Bontridder <address@hidden>
Date:   Sun Dec 23 21:04:54 2018 +0100

    PHP 7.2 : sizeof attribut
---
 include/class/fiche.class.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/class/fiche.class.php b/include/class/fiche.class.php
index a69db88..3f44dc7 100644
--- a/include/class/fiche.class.php
+++ b/include/class/fiche.class.php
@@ -345,7 +345,7 @@ class Fiche
     function strAttribut($p_ad_id,$p_return=1)
     {
                $return=($p_return==1)?NOTFOUND:"";
-        if ( sizeof ($this->attribut) == 0 )
+        if ( $this->attribut == NULL )
         {
 
             if ($this->id==0) {



reply via email to

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