diff --git a/crmeb/crmeb/command/Util.php b/crmeb/crmeb/command/Util.php index c6d0ee78f..e32ec9a44 100644 --- a/crmeb/crmeb/command/Util.php +++ b/crmeb/crmeb/command/Util.php @@ -196,7 +196,7 @@ class Util extends Command foreach ($options as $option) { $request[] = [ 'attribute' => $option['name'], - 'type' => $option['type'], + 'type' => $option['type'] === 'text' ? 'string' : $option['type'], 'must' => 0, 'trip' => $option['description'], 'id' => $option['id'],