Skip to content
Snippets Groups Projects
Commit 5cc01526 authored by Marcos García de La Fuente's avatar Marcos García de La Fuente Committed by Laurent Destailleur
Browse files

Fixed [ bug #1718 ] Mistakenly searching for text in amount field breaks

parent 0a0e0e06
Branches
Tags
No related merge requests found
......@@ -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)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment