2
0
forked from Wavyzz/dolibarr

Fix : Filtering on fourn paiement list was not working

This commit is contained in:
Maxime Kohlhaas
2014-08-06 12:02:44 +02:00
parent 27266ba7e1
commit 546b31b9d0

View File

@@ -399,7 +399,7 @@ if (empty($action))
{
$sql .= ' AND p.rowid='.$db->escape($search_ref);
}
if (! empty($search_account))
if (! empty($search_account) && $search_account > 0)
{
$sql .= ' AND b.fk_account='.$db->escape($search_account);
}