if company gateway set to zero, disable gateways for client
This commit is contained in:
parent
021b741e56
commit
089f50e7ed
1 changed files with 2 additions and 1 deletions
|
|
@ -460,7 +460,8 @@ class Client extends BaseModel implements HasLocalePreference
|
|||
|
||||
$company_gateways = $this->getSetting('company_gateway_ids');
|
||||
|
||||
if ($company_gateways) {
|
||||
if ($company_gateways || $company_gateways == "0") {
|
||||
|
||||
$transformed_ids = $this->transformKeys(explode(",", $company_gateways));
|
||||
$gateways = $this->company
|
||||
->company_gateways
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue