diff --git a/e107_handlers/validator_class.php b/e107_handlers/validator_class.php index adf3d3d18..62ac3f0c1 100644 --- a/e107_handlers/validator_class.php +++ b/e107_handlers/validator_class.php @@ -771,6 +771,7 @@ class e_validator */ function addValidateMessage($field_title, $err_code = 0, $err_message = '', $custom = '') { + $tp = e107::getParser(); $lanVars = array( 'x' => $field_title, 'y' => $err_code,