mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-08 00:52:01 +01:00
Fixed [ bug #1718 ] Mistakenly searching for text in amount field breaks
This commit is contained in:
@@ -123,7 +123,7 @@ if ($search_user)
|
||||
}
|
||||
if ($search_ttc)
|
||||
{
|
||||
$sql .= " AND total_ttc = ".price2num($search_ttc);
|
||||
$sql .= " AND total_ttc = '".$db->escape(price2num($search_ttc))."'";
|
||||
}
|
||||
if ($sall)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user