2
0
forked from Wavyzz/dolibarr

Debug v20

This commit is contained in:
Laurent Destailleur
2024-04-28 18:10:37 +02:00
parent 272275147c
commit 1b60e571fe

View File

@@ -474,7 +474,7 @@ class CompanyBankAccount extends Account
*/
public function fetch($id, $ref = '', $socid = 0, $default = 1, $type = 'ban')
{
if (empty($id) && empty($socid)) {
if (empty($id) && empty($ref) && empty($socid)) {
return -1;
}