Browse Source

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

Refs: #5331
(cherry picked from commit cf94139964)
remotes/checkIfPRContentChanged-1664355177598423573/4.1
Matthieu Marcillaud 4 months ago
parent
commit
744072c26d
  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