Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
Open sidebar
Guilherme Filippo
ISPConfig 3
Commits
6e2a8dbc
Commit
6e2a8dbc
authored
Jan 25, 2010
by
tbrehm
Browse files
Fixed: FS#1038 - Alias 1 character long
parent
dbbf2ea0
Changes
1
Hide whitespace changes
Inline
Side-by-side
interface/lib/classes/tform.inc.php
View file @
6e2a8dbc
...
...
@@ -700,7 +700,7 @@ class tform {
}
break
;
case
'ISEMAIL'
:
if
(
!
preg_match
(
"/^\w+[\w.-]*\w
+
@\w+[\w.-]*\w+\.[a-z]
{
2,10
}
$/i"
,
$field_value
))
{
if
(
!
preg_match
(
"/^\w+[\w.-]*\w
{
0,}
@\w+[\w.-]*\w+\.[a-z]{2,10
}
$/i"
,
$field_value
))
{
$errmsg
=
$validator
[
'errmsg'
];
if
(
isset
(
$this
->
wordbook
[
$errmsg
]))
{
$this
->
errorMessage
.
=
$this
->
wordbook
[
$errmsg
]
.
"<br />
\r\n
"
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment