mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Debug v20
This commit is contained in:
parent
272275147c
commit
1b60e571fe
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user