add fallback in case of not set headline
This commit is contained in:
parent
d8c60ce2c2
commit
6079ae7cf6
@ -39,7 +39,7 @@ class OxidSQLLogger implements SQLLogger
|
|||||||
public function startQuery($sql, array $params = null, array $types = null)
|
public function startQuery($sql, array $params = null, array $types = null)
|
||||||
{
|
{
|
||||||
Monolog\Registry::sql()->addDebug(
|
Monolog\Registry::sql()->addDebug(
|
||||||
$this->message,
|
$this->message ? $this->message : $sql,
|
||||||
[
|
[
|
||||||
'query' => $sql,
|
'query' => $sql,
|
||||||
'params' => $params,
|
'params' => $params,
|
||||||
|
Loading…
Reference in New Issue
Block a user