Skip to content

Commit af1068b

Browse files
committed
fixes
1 parent 2dfcc7b commit af1068b

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

admin/class-paystack-forms-admin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ function wpt_form_data_meta($post_id, $post) {
372372

373373
// Add values of $$form_meta as custom fields
374374

375-
foreach ($$form_meta as $key => $value) { // Cycle through the $$form_meta array!
375+
foreach ($form_meta as $key => $value) { // Cycle through the $$form_meta array!
376376
if( $post->post_type == 'revision' ) return; // Don't store custom data twice
377377
$value = implode(',', (array)$value); // If $value is an array, make it a CSV (unlikely)
378378
if(get_post_meta($post->ID, $key, FALSE)) { // If the custom field already has a value

includes/class-paystack-forms.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ class Paystack_Forms {
4343
public function __construct() {
4444

4545
$this->plugin_name = 'paystack-forms';
46-
$this->version = '1.0.0';
46+
$this->version = '1.0.1';
4747

4848
$this->load_dependencies();
4949
$this->set_locale();

0 commit comments

Comments
 (0)