Clean code

This commit is contained in:
Laurent Destailleur
2025-01-20 03:54:04 +01:00
parent 6eaf7d7c82
commit 67521e9c4f
20 changed files with 57 additions and 59 deletions

View File

@@ -101,7 +101,7 @@ if (GETPOST("search_code_client")) {
$sql .= natural_search("s.code_client", GETPOST("search_code_client"));
}
if (dol_strlen($begin)) {
$sql .= " AND s.nom like '".$db->escape($begin)."'";
$sql .= " AND s.nom LIKE '".$db->escape($begin)."'";
}
// If the internal user must only see his customers, force searching by him
$search_sale = 0;