diff --git a/core/lib/PatternLab/Configurer.php b/core/lib/PatternLab/Configurer.php index a35b58f51..746569147 100644 --- a/core/lib/PatternLab/Configurer.php +++ b/core/lib/PatternLab/Configurer.php @@ -63,7 +63,7 @@ public function getConfig() { } // check the config version and update it if necessary - if (!isset($config["v"]) || ($config["v"] != $defaultConfig["v"])) { + if ($migrate || ($config["v"] != $defaultConfig["v"])) { print "upgrading your version of pattern lab...\n"; $config = $this->writeNewConfig($config,$defaultConfig); $diffVersion = true;