We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1ed3e9e commit d9cf90aCopy full SHA for d9cf90a
setup.php
@@ -502,7 +502,7 @@ function plugin_formcreator_getSchemaPath(string $version = null): ?string {
502
503
// Drop suffixes for alpha, beta, rc versions
504
$matches = [];
505
- preg_match('/^(\d+\.\d+\.\d+)/', PLUGIN_FORMCREATOR_VERSION, $matches);
+ preg_match('/^(\d+\.\d+\.\d+)/', $version, $matches);
506
$version = $matches[1];
507
508
return Plugin::getPhpDir('formcreator') . "/install/mysql/plugin_formcreator_${version}_empty.sql";
0 commit comments