Fix bug [ bug #692 ] Can't search for suppliers invoice

This commit is contained in:
fhenry 2013-01-15 23:03:03 +01:00
parent b6b9f06a72
commit b8dfee2a3b

View File

@ -126,7 +126,7 @@ if (GETPOST('filtre'))
if (GETPOST("search_ref"))
{
$sql .= " AND fac.rowid LIKE '%".$db->escape(GETPOST("search_ref"))."%'";
$sql .= " AND fac.rowid = ".$db->escape(GETPOST("search_ref"));
}
if (GETPOST("search_ref_supplier"))
{