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->getPreparedStatementQuery($sql, $params);
|
||||
$this->getPreparedStatementQuery($sql, $params ?? []);
|
||||
|
||||
$this->SQLQuery = (new SQLQuery()) ->setSql($sql)
|
||||
->setParams($params)
|
||||
|
Loading…
x
Reference in New Issue
Block a user