mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-08 12:12:48 +01:00
Minor fixes
This commit is contained in:
parent
7d61ec8317
commit
60897083d1
@ -164,7 +164,7 @@ class ClientPortalController extends BaseController
|
||||
|
||||
$gatewayTypeIdCast = false;
|
||||
|
||||
if(array_key_exists('gatewayTypeId', $paymentTypes[0]))
|
||||
if(count($paymentTypes) >= 1 && array_key_exists('gatewayTypeId', $paymentTypes[0]))
|
||||
$gatewayTypeIdCast = $paymentTypes[0]['gatewayTypeId'];
|
||||
|
||||
$data += [
|
||||
|
Loading…
Reference in New Issue
Block a user