Skip to content

Commit 475e190

Browse files
committed
fix(form): export versin number as string
Signed-off-by: Thierry Bugier <tbugier@teclib.com>
1 parent 95e5150 commit 475e190

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

front/export.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
}
3939

4040
$form = new PluginFormcreatorForm;
41-
$export_array = ['schema_version' => PLUGIN_FORMCREATOR_SCHEMA_VERSION, 'forms' => []];
41+
$export_array = ['schema_version' => PLUGIN_FORMCREATOR_SCHEMA_VERSION . '.0', 'forms' => []];
4242
foreach ($_GET['plugin_formcreator_forms_id'] as $id) {
4343
$form->getFromDB($id);
4444
$export_array['forms'][] = $form->export();

0 commit comments

Comments
 (0)