mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-08 13:34:29 -04:00
Fixes for gateway id
This commit is contained in:
parent
16d716230b
commit
ae31a457da
@ -66,8 +66,9 @@ class Settings
|
|||||||
default => $type = self::GATEWAY_CBA,
|
default => $type = self::GATEWAY_CBA,
|
||||||
};
|
};
|
||||||
|
|
||||||
if($type == self::GATEWAY_CBA)
|
if($type == self::GATEWAY_CBA && strlen($this->powerboard->company_gateway->getConfigField('gatewayId') ?? '') > 1){
|
||||||
return $this->powerboard->company_gateway->getConfigField('gatewayId') ?? $this->getGatewayByType($type);
|
return $this->powerboard->company_gateway->getConfigField('gatewayId');
|
||||||
|
}
|
||||||
|
|
||||||
return $this->getGatewayByType($type);
|
return $this->getGatewayByType($type);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user