| @@ -14,9 +14,10 @@ | ||
| 14 | 14 | * |
| 15 | 15 | * @return void |
| 16 | 16 | */ |
| 17 | 17 | public static function ajax_create() { |
| 18 | - self::fix_woocommerce_conflict(); // This is called before we exit early to cover the conflict in Pro as well. | |
| 18 | + // This is called before we exit early to cover the conflict in Pro as well. | |
| 19 | + self::fix_woocommerce_conflict(); | |
| 19 | 20 | |
| 20 | 21 | if ( is_callable( 'FrmProEntriesController::ajax_create' ) ) { |
| 21 | 22 | // Let Pro handle AJAX Submit if it's available. |
| 22 | 23 | // This is because Pro requires additional code to support other Pro features. |
| @@ -99,9 +100,9 @@ | ||
| 99 | 100 | 'entry_id' => 0, |
| 100 | 101 | 'class' => FrmFormsHelper::form_error_class(), |
| 101 | 102 | ) |
| 102 | 103 | ); |
| 103 | - } | |
| 104 | + }//end if | |
| 104 | 105 | |
| 105 | 106 | $response = self::check_for_failed_form_submission( $response, $form->id ); |
| 106 | 107 | |
| 107 | 108 | echo json_encode( $response ); |