diff --git a/interface/lib/classes/tform.inc.php b/interface/lib/classes/tform.inc.php index 04a2912ab746e787bc33abd55971bf4d1547441c..ca8ac3f035d8bc478544f89f7fc06d82a177eb17 100644 --- a/interface/lib/classes/tform.inc.php +++ b/interface/lib/classes/tform.inc.php @@ -641,12 +641,7 @@ class tform { } }else{$vip=0;} if($vip==0) { - $errmsg = $validator['errmsg']; - if(isset($this->wordbook[$errmsg])) { - $this->errorMessage .= $field_name.": ".$this->wordbook['ipv4_validator_error_txt']."<br />\r\n"; - } else { - $this->errorMessage .= $errmsg."<br />\r\n"; - } + $this->errorMessage .= $field_name.": ".$this->wordbook['ipv4_validator_error_txt']."<br />\r\n"; } break; case 'CUSTOM':