Fixed [ bug #1718 ] Mistakenly searching for text in amount field breaks
This commit is contained in:
parent
0a0e0e068c
commit
5cc015268e
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue