Jake Vanderwerf
2026-01-20 7a9054bb3f033c98067b3196378311dae54c5fbf
inc/rest/routes/FormRoutes.php
@@ -323,7 +323,7 @@
      $form = [];
      foreach ($form_config['fields'] as $field_name => $config) {
         // Skip file upload fields
         if (in_array($config['type'], ['upload'])) {
         if ($config['type'] == 'upload') {
            continue;
         }
@@ -354,7 +354,7 @@
      }
      // Send the email
      $email_sent = JVB()->email()->sendEmail(
      return JVB()->email()->sendEmail(
         $to,
         $subject,
         $body,
@@ -362,8 +362,6 @@
         $headers,
         $attachments
      );
      return $email_sent;
   }
   /**