File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1068,7 +1068,7 @@ function kkd_pff_paystack_submit_action() {
10681068}
10691069
10701070function 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 )) {
You can’t perform that action at this time.
0 commit comments