Skip to content

Commit

Permalink
2.0.6 upgrade fix
Browse files Browse the repository at this point in the history
  • Loading branch information
benkeen committed Feb 25, 2018
1 parent dfd72be commit 1bf7ada
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions code/Module.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ class Module extends FormToolsModule
protected $author = "Ben Keen";
protected $authorEmail = "ben.keen@gmail.com";
protected $authorLink = "https://formtools.org";
protected $version = "2.0.5";
protected $date = "2018-02-01";
protected $version = "2.0.6";
protected $date = "2018-02-24";
protected $originLanguage = "en_us";

protected $jsFiles = array(
Expand Down Expand Up @@ -286,7 +286,7 @@ public function upgrade($module_id, $old_module_version)
{
$this->resetHooks();

if (General::isVersionEarlierThan($this->getVersion(), "2.0.5")) {
if (General::isVersionEarlierThan($old_module_version, "2.0.6")) {
$this->resetFieldType($module_id);
}
}
Expand Down

0 comments on commit 1bf7ada

Please sign in to comment.