tbrehm
2006-02-16 e22f1ee5203faf0f33abf02b92cb0a0d3f30a801
interface/lib/classes/tform.inc.php
@@ -196,7 +196,7 @@
        /**
        * Get the key => value array of a form filed from a datasource definitiom
        *
        * @param field = NEW oder EDIT
        * @param field = array with field definition
        * @param record = Dataset as array
        * @return key => value array for the value field of a form
        */
@@ -560,7 +560,7 @@
                                        }
                                break;
                                case 'ISEMAIL':
                                        if(!preg_match("/^\w+[\w.-]*\w+@\w+[\w.-]*\w+\.[a-z]{2,4}$/i", $field_value)) {
                                        if(!preg_match("/^\w+[\w.-]*\w+@\w+[\w.-]*\w+\.[a-z]{2,10}$/i", $field_value)) {
                                                $errmsg = $validator['errmsg'];
                                                $this->errorMessage .= $this->wordbook[$errmsg]."<br>\r\n";
                                        }