noalyss-commit
[Top][All Lists]
Advanced

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

[Noalyss-commit] [noalyss] 16/17: info debug


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 16/17: info debug
Date: Mon, 31 Oct 2022 12:53:40 -0400 (EDT)

sparkyx pushed a commit to branch master
in repository noalyss.

commit 95ffff49666af8748c09183016ba8ed46ca39b5a
Author: sparkyx <danydb@noalyss.eu>
AuthorDate: Mon Oct 31 17:07:17 2022 +0100

    info debug
---
 include/class/contact.class.php | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/include/class/contact.class.php b/include/class/contact.class.php
index 8eb1808bd..efbce2378 100644
--- a/include/class/contact.class.php
+++ b/include/class/contact.class.php
@@ -127,9 +127,7 @@ class contact extends Fiche
         if ( !empty ($p_search) ) { $this->filter_search($p_search);}
 
         $sql=$this->build_sql($this->filter);
-        if (DEBUGNOALYSS > 1) {
-            print_r("Contact::summary ($sql)");
-        }
+        \Noalyss\Dbg::echo_var(1,"Contact::summary ($sql)");
         // Creation of the nav bar
         // Get the max numberRow
         $all_contact=$this->cn->get_value("select count(*) from ($sql) as m");



reply via email to

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