Skip to content

Commit 3775206

Browse files
SchrankFlyingmana
authored andcommitted
Don't break on weird named file in sql directory (#586)
https://blog.fabian-blechschmidt.de/magento-doesnt-trigger-setup-script/
1 parent 96be22a commit 3775206

File tree

1 file changed

+1
-1
lines changed
  • app/code/core/Mage/Core/Model/Resource

1 file changed

+1
-1
lines changed

app/code/core/Mage/Core/Model/Resource/Setup.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -684,7 +684,7 @@ protected function _getModifySqlFiles($actionType, $fromVersion, $toVersion, $ar
684684

685685
// In array must be 2 elements: 0 => version from, 1 => version to
686686
if (count($versionInfo)!=2) {
687-
break;
687+
continue;
688688
}
689689
$infoFrom = $versionInfo[0];
690690
$infoTo = $versionInfo[1];

0 commit comments

Comments
 (0)