phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: etemplate/inc class.soetemplate.inc.php,1.24,1.2


From: Ralf Becker <address@hidden>
Subject: [Phpgroupware-cvs] CVS: etemplate/inc class.soetemplate.inc.php,1.24,1.25
Date: Thu, 27 Mar 2003 18:43:40 -0500

Update of /cvsroot/phpgroupware/etemplate/inc
In directory subversions:/tmp/cvs-serv17991

Modified Files:
        class.soetemplate.inc.php 
Log Message:
added a debug-message for the search

Index: class.soetemplate.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/etemplate/inc/class.soetemplate.inc.php,v
retrieving revision 1.24
retrieving revision 1.25
diff -C2 -r1.24 -r1.25
*** class.soetemplate.inc.php   22 Feb 2003 12:25:07 -0000      1.24
--- class.soetemplate.inc.php   27 Mar 2003 23:43:37 -0000      1.25
***************
*** 371,375 ****
                        $tpl = new soetemplate;
                        $tpl->db->query($sql,__LINE__,__FILE__);
- 
                        $result = array();
                        while ($tpl->db->next_record())
--- 371,374 ----
***************
*** 381,384 ****
--- 380,389 ----
                                        $result[] = $tpl->as_array();
                                }
+                       }
+                       if ($this->debug)
+                       {
+                               echo "<p>soetemplate::search('$name') 
sql='$sql'</p>\n<pre>\n";
+                               print_r($result);
+                               echo "</pre>\n";
                        }
                        return $result;





reply via email to

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