Merge branch 'main' into guillaume

This commit is contained in:
Yass 2026-02-20 16:56:22 +01:00 committed by GitHub
commit 9c19aa5525
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
24 changed files with 598 additions and 121 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 ";