fix empty default parameter argument error
This commit is contained in:
parent
6327bfb06d
commit
c37768f2fa
|
@ -63,7 +63,7 @@ class OxidSQLLogger implements SQLLogger
|
||||||
$this->stopQuery();
|
$this->stopQuery();
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->getPreparedStatementQuery($sql, $params);
|
$this->getPreparedStatementQuery($sql, $params ?? []);
|
||||||
|
|
||||||
$this->SQLQuery = (new SQLQuery()) ->setSql($sql)
|
$this->SQLQuery = (new SQLQuery()) ->setSql($sql)
|
||||||
->setParams($params)
|
->setParams($params)
|
||||||
|
|
Loading…
Reference in New Issue