Fix elastic after ef5a7639
This commit is contained in:
parent
ef5a76392d
commit
0d90f1f1dd
|
@ -412,7 +412,7 @@ if (isset($_GET["elastic"])) {
|
|||
$properties = array();
|
||||
foreach($fields as $f) {
|
||||
$field_name = trim($f[1][0]);
|
||||
$field_type = trim($f[1][1] ? "" : "text");
|
||||
$field_type = trim($f[1][1] ? $f[1][1] : "text");
|
||||
$properties[$field_name] = array(
|
||||
'type' => $field_type
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue