Browse Source

fix: Deprecated null to string convertion, dans certains cas avec sqlite

Refs: #5331
remotes/1665075920937522977/master
Matthieu Marcillaud 4 months ago
parent
commit
cf94139964
  1. 2
      ecrire/req/sqlite_generique.php

2
ecrire/req/sqlite_generique.php

@ -2099,7 +2099,7 @@ function _sqlite_calculer_cite($v, $type) {
and $l instanceof \PDO
and $l->getAttribute(\PDO::ATTR_DRIVER_NAME) === 'sqlite'
) {
return $l->quote($v);
return $l->quote($v ?? '');
}
}

Loading…
Cancel
Save