Skip to content

Commit

Permalink
Minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Kendysond committed Oct 17, 2016
1 parent 9660e56 commit ff21820
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions public/class-paystack-forms-public.php
Original file line number Diff line number Diff line change
Expand Up @@ -1068,7 +1068,7 @@ function kkd_pff_paystack_submit_action() {
}

function kkd_pff_paystack_meta_as_custom_fields($metadata){
$custom_fields = [];
$custom_fields = array();
foreach ($metadata as $key => $value) {
if ($key == 'pf-fname') {
$custom_fields[] = array(
Expand Down Expand Up @@ -1249,7 +1249,7 @@ function kkd_pff_paystack_retry_action() {
$code = $_POST['code'];
$newcode = kkd_pff_paystack_generate_code();
$newcode = $newcode.'_2';
$insert = [];
$insert = array();
$table = $wpdb->prefix.KKD_PFF_PAYSTACK_TABLE;
$record = $wpdb->get_results("SELECT * FROM $table WHERE (txn_code = '".$code."')");
if (array_key_exists("0", $record)) {
Expand Down

0 comments on commit ff21820

Please sign in to comment.