mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 00:29:38 +01:00
added a debug-message for the search
This commit is contained in:
parent
3d394c5b50
commit
f7e3a07b05
@ -370,7 +370,6 @@
|
||||
|
||||
$tpl = new soetemplate;
|
||||
$tpl->db->query($sql,__LINE__,__FILE__);
|
||||
|
||||
$result = array();
|
||||
while ($tpl->db->next_record())
|
||||
{
|
||||
@ -381,6 +380,12 @@
|
||||
$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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user