@@ -48,7 +48,7 @@ |
||
48 | 48 | // if form has been submitted, use the submitted ID, otherwise generate a new unique ID |
49 | 49 | if ( isset( $_POST['gform_random_id'] ) ) { |
50 | 50 | $random_id = absint( $_POST['gform_random_id'] ); // Input var okay. |
51 | - } elseif ( !in_array($form['id'], $this->previous_forms) ) { |
|
51 | + } elseif ( !in_array($form['id'], $this->previous_forms) ) { |
|
52 | 52 | // if this is the first time we are seeing this form id then don't change the id |
53 | 53 | // this allows for add-ons like Stripe to still work since their JS depends on |
54 | 54 | // the form id. |