Skip to content

Commit

Permalink
fix(form): export versin number as string
Browse files Browse the repository at this point in the history
Signed-off-by: Thierry Bugier <tbugier@teclib.com>
  • Loading branch information
btry committed Jun 12, 2020
1 parent 95e5150 commit 475e190
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion front/export.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
}

$form = new PluginFormcreatorForm;
$export_array = ['schema_version' => PLUGIN_FORMCREATOR_SCHEMA_VERSION, 'forms' => []];
$export_array = ['schema_version' => PLUGIN_FORMCREATOR_SCHEMA_VERSION . '.0', 'forms' => []];
foreach ($_GET['plugin_formcreator_forms_id'] as $id) {
$form->getFromDB($id);
$export_array['forms'][] = $form->export();
Expand Down

0 comments on commit 475e190

Please sign in to comment.