This commit is contained in:
Jay Trees 2022-04-14 11:14:21 +02:00
parent 6815767e94
commit 8a9a5d4efe

View file

@ -31,7 +31,7 @@ if ('POST' === $_SERVER['REQUEST_METHOD']) {
} }
foreach ($versions as $version) { foreach ($versions as $version) {
if (-1 === version_compare($options->getOption('version'), $version['version'])) { if (-1 === version_compare($options->version, $version['version'])) {
$sql = file_get_contents($version['filepath']); $sql = file_get_contents($version['filepath']);
if ($sql) { if ($sql) {