From 22e1bb3fcc3b3db1c0f5c2e6a4aecaf408c307a5 Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Sun, 04 Jan 2026 18:29:46 +0000
Subject: [PATCH] Merge branch 'main' of https://github.com/jakevdwerf/jvb
---
inc/rest/routes/FormRoutes.php | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/inc/rest/routes/FormRoutes.php b/inc/rest/routes/FormRoutes.php
index 5695d64..f1efa39 100644
--- a/inc/rest/routes/FormRoutes.php
+++ b/inc/rest/routes/FormRoutes.php
@@ -376,7 +376,7 @@
}
$type = $field_config['type'] ?? 'text';
- $type = $field_config['subType']?:$type;
+ $type = $field_config['subType'] ?? $type;
switch ($type) {
case 'phone':
--
Gitblit v1.10.0