Skip to content

Commit b7c8bf1

Browse files
committed
2.0.3
1 parent 7177df3 commit b7c8bf1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

code/Module.class.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ class Module extends FormToolsModule
1616
protected $author = "Ben Keen";
1717
protected $authorEmail = "[email protected]";
1818
protected $authorLink = "https://formtools.org";
19-
protected $version = "2.0.2";
20-
protected $date = "2018-02-02";
19+
protected $version = "2.0.3";
20+
protected $date = "2018-03-15";
2121
protected $originLanguage = "en_us";
2222
protected $cssFiles = array(
2323
"{MODULEROOT}/styles.css",

code/Rules.class.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ private static function addCodeRule($info, $L)
123123
$db = Core::$db;
124124

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

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

0 commit comments

Comments
 (0)