Plusieurs bug de fixed important (!), mise en place env, mise en place img user par défaut

This commit is contained in:
laura.chevillet 2026-02-14 10:03:15 +01:00
parent 84dbe145b3
commit ea38928869
91 changed files with 6711 additions and 24 deletions

View file

@ -27,10 +27,13 @@
$strWhere = " WHERE ";
// Recherche par mot clé
// Recherche par mot clé avec quote pour éviter bug du '
if ($strKeywords != '') {
$strRq .= " WHERE (project_title LIKE '%".$strKeywords."%'
OR project_content LIKE '%".$strKeywords."%') ";
$strSafeKeywords = $this->_db->quote("%" . $strKeywords . "%");
$strRq .= " WHERE (project_title LIKE ".$strSafeKeywords."
OR project_content LIKE ".$strSafeKeywords.") ";
//$boolWhere = true;
$strWhere = " AND ";