Skip to content

Commit f07e85b

Browse files
committed
2.0.3; closes #3
1 parent a8eaa12 commit f07e85b

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

code/Fields.class.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,10 @@ public static function displayFields($location, $template_vars)
392392

393393
$smarty = new Smarty();
394394
$smarty->setCompileDir("$root_dir/themes/default/cache/");
395-
$smarty->setTemplateDir("$root_dir/modules/extended_client_fields/smarty_plugins/");
395+
$smarty->addPluginsDir(array(
396+
"$root_dir/global/smarty_plugins",
397+
"$root_dir/modules/extended_client_fields/smarty_plugins/"
398+
));
396399

397400
// now look through the incoming client settings, passed through $template_vars and determine
398401
// the selected value for each field

code/Module.class.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ class Module extends FormToolsModule
1919
protected $author = "Ben Keen";
2020
protected $authorEmail = "[email protected]";
2121
protected $authorLink = "https://formtools.org";
22-
protected $version = "2.0.2";
23-
protected $date = "2018-01-16";
22+
protected $version = "2.0.3";
23+
protected $date = "2018-01-20";
2424
protected $originLanguage = "en_us";
2525
protected $jsFiles = array(
2626
"{MODULEROOT}/scripts/field_options.js"

0 commit comments

Comments
 (0)