Skip to content
This repository was archived by the owner on Feb 7, 2023. It is now read-only.

Commit b686666

Browse files
committed
fixing a bug with the migrator
1 parent 51100bf commit b686666

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/lib/PatternLab/Configurer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public function getConfig() {
6363
}
6464

6565
// check the config version and update it if necessary
66-
if (!isset($config["v"]) || ($config["v"] != $defaultConfig["v"])) {
66+
if ($migrate || ($config["v"] != $defaultConfig["v"])) {
6767
print "upgrading your version of pattern lab...\n";
6868
$config = $this->writeNewConfig($config,$defaultConfig);
6969
$diffVersion = true;

0 commit comments

Comments
 (0)