Skip to content

Commit

Permalink
2.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
benkeen committed Mar 16, 2018
1 parent 7177df3 commit b7c8bf1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions code/Module.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ class Module extends FormToolsModule
protected $author = "Ben Keen";
protected $authorEmail = "[email protected]";
protected $authorLink = "https://formtools.org";
protected $version = "2.0.2";
protected $date = "2018-02-02";
protected $version = "2.0.3";
protected $date = "2018-03-15";
protected $originLanguage = "en_us";
protected $cssFiles = array(
"{MODULEROOT}/styles.css",
Expand Down
2 changes: 1 addition & 1 deletion code/Rules.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ private static function addCodeRule($info, $L)
$db = Core::$db;

// the code hook dropdown contains the function name, a comma, then the location where it's call (e.g. "start", "end" etc.)
list ($function_name, $location) = mb_split(",", $info["code_hook_dropdown"]);
list ($function_name, $location) = explode(",", $info["code_hook_dropdown"]);

// register our new rule for this hook
list ($success, $hook_id) = Hooks::registerHook("code", "hooks_manager", $location, $function_name,
Expand Down

0 comments on commit b7c8bf1

Please sign in to comment.