From b68666622af1297936bc3fb50b2f6fbc1494d8fd Mon Sep 17 00:00:00 2001 From: Dave Olsen Date: Sun, 26 Jan 2014 22:54:49 -0500 Subject: [PATCH] fixing a bug with the migrator --- core/lib/PatternLab/Configurer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;