Skip to content

Commit 6ae5a73

Browse files
committed
update gravityformspaystack
1 parent 8acaab2 commit 6ae5a73

File tree

2 files changed

+428
-495
lines changed

2 files changed

+428
-495
lines changed

class-gf-paystack-api.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ class GFPaystackApi
1212
public function __construct($config)
1313
{
1414
$this->plugin_name = 'Paystack Addon for Gravity Forms';
15-
$this->secret_key = isset($config->secret_key) ? $config->secret_key : '';
16-
$this->public_key = isset($config->public_key) ? $config->public_key : '';
15+
$this->secret_key = $config->secret_key ?? '';
16+
$this->public_key = $config->public_key ?? '';
1717
}
1818

1919
/**

0 commit comments

Comments
 (0)