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