Plusieurs bug de fixed important (!), mise en place env, mise en place img user par défaut
This commit is contained in:
parent
84dbe145b3
commit
ea38928869
91 changed files with 6711 additions and 24 deletions
|
|
@ -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 ";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue