Skip to content

Commit ff21820

Browse files
committed
Minor fixes
1 parent 9660e56 commit ff21820

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

public/class-paystack-forms-public.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1068,7 +1068,7 @@ function kkd_pff_paystack_submit_action() {
10681068
}
10691069

10701070
function kkd_pff_paystack_meta_as_custom_fields($metadata){
1071-
$custom_fields = [];
1071+
$custom_fields = array();
10721072
foreach ($metadata as $key => $value) {
10731073
if ($key == 'pf-fname') {
10741074
$custom_fields[] = array(
@@ -1249,7 +1249,7 @@ function kkd_pff_paystack_retry_action() {
12491249
$code = $_POST['code'];
12501250
$newcode = kkd_pff_paystack_generate_code();
12511251
$newcode = $newcode.'_2';
1252-
$insert = [];
1252+
$insert = array();
12531253
$table = $wpdb->prefix.KKD_PFF_PAYSTACK_TABLE;
12541254
$record = $wpdb->get_results("SELECT * FROM $table WHERE (txn_code = '".$code."')");
12551255
if (array_key_exists("0", $record)) {

0 commit comments

Comments
 (0)