Commit 702e8395 authored by git's avatar git Committed by jelles
Browse files

Issue #2140163 by chrisrockwell: Fixed Custom messages are not passed from...

Issue #2140163 by chrisrockwell: Fixed Custom messages are not passed from clientside_validation_fapi.module to _clientside_validation_set_equal().
parent f9bc769f
......@@ -148,7 +148,7 @@ function _clientside_validation_set_fapi_validation($element, $rule, $params, &$
_clientside_validation_set_regex_pcre($name, $title, $js_rules, $expression, $message, 'decimal');
break;
case 'fapi_validation_rule_match_field';
_clientside_validation_set_equal($name, $title, $params[0], $js_rules);
_clientside_validation_set_equal($name, $title, $params[0], $js_rules, $message);
break;
default:
$context = array('type' => 'fapi', 'rule' => $rule, 'message' => $message, 'params' => $params);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment