Skip to content

Commit 9c76d8f

Browse files
committed
Closes #30
1 parent f71ec28 commit 9c76d8f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

code/Module.class.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ class Module extends CoreModule
1818
protected $author = "Ben Keen";
1919
protected $authorEmail = "[email protected]";
2020
protected $authorLink = "https://formtools.org";
21-
protected $version = "2.0.9";
22-
protected $date = "2018-05-23";
21+
protected $version = "2.0.10";
22+
protected $date = "2018-06-09";
2323
protected $originLanguage = "en_us";
2424

2525
// important! This needs to be updated any time the default template set filename changes
@@ -215,7 +215,7 @@ public function upgrade($module_id, $old_module_version)
215215
{
216216
$this->resetHooks();
217217

218-
if ($this->version === "2.0.8") {
218+
if (CoreGeneral::isVersionEarlierThan($old_module_version, "2.0.10")) {
219219
$this->updateOfflineDateFieldAllowNulls();
220220
}
221221
}

0 commit comments

Comments
 (0)