We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9660e56 commit ff21820Copy full SHA for ff21820
1 file changed
public/class-paystack-forms-public.php
@@ -1068,7 +1068,7 @@ function kkd_pff_paystack_submit_action() {
1068
}
1069
1070
function kkd_pff_paystack_meta_as_custom_fields($metadata){
1071
- $custom_fields = [];
+ $custom_fields = array();
1072
foreach ($metadata as $key => $value) {
1073
if ($key == 'pf-fname') {
1074
$custom_fields[] = array(
@@ -1249,7 +1249,7 @@ function kkd_pff_paystack_retry_action() {
1249
$code = $_POST['code'];
1250
$newcode = kkd_pff_paystack_generate_code();
1251
$newcode = $newcode.'_2';
1252
- $insert = [];
+ $insert = array();
1253
$table = $wpdb->prefix.KKD_PFF_PAYSTACK_TABLE;
1254
$record = $wpdb->get_results("SELECT * FROM $table WHERE (txn_code = '".$code."')");
1255
if (array_key_exists("0", $record)) {
0 commit comments