mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-08-01 13:49:28 +00:00
Log parameters on QF, unless we already have.
This commit is contained in:
parent
94446f98ca
commit
a9b1aca73f
@ -507,7 +507,7 @@ class AwlQuery
|
||||
$this->errorstring = sprintf( 'SQL error "%s" - %s"', $this->error_info[0], (isset($this->error_info[2]) ? $this->error_info[2] : ''));
|
||||
$this->_log_query( $this->location, 'QF', $this->errorstring, $line, $file );
|
||||
$this->_log_query( $this->location, 'QF', $this->querystring, $line, $file );
|
||||
if ( isset($this->bound_parameters) && !isset($this->sth) ) {
|
||||
if ( isset($this->bound_parameters) && ! ( isset($c->dbg['querystring']) || isset($c->dbg['ALL']) ) ) {
|
||||
foreach( $this->bound_parameters AS $k => $v ) {
|
||||
$this->_log_query( $this->location, 'QF', sprintf(' "%s" => "%s"', $k, $v), $line, $file );
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user