forked from Wavyzz/dolibarr
Fix : Filtering on fourn paiement list was not working
This commit is contained in:
@@ -399,7 +399,7 @@ if (empty($action))
|
|||||||
{
|
{
|
||||||
$sql .= ' AND p.rowid='.$db->escape($search_ref);
|
$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);
|
$sql .= ' AND b.fk_account='.$db->escape($search_account);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user