Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
project
drupal
Commits
89510864
Commit
89510864
authored
Aug 08, 2004
by
Steven Wittens
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Tiny code cleanup in user.module.
parent
90581e73
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
modules/user.module
modules/user.module
+1
-1
modules/user/user.module
modules/user/user.module
+1
-1
No files found.
modules/user.module
View file @
89510864
...
...
@@ -171,7 +171,7 @@ function user_validate_name($name) {
function
user_validate_mail
(
$mail
)
{
if
(
!
$mail
)
return
t
(
'You must enter an e-mail address.'
);
if
(
$mail
&&
!
valid_email_address
(
$mail
))
{
if
(
!
valid_email_address
(
$mail
))
{
return
t
(
'The e-mail address "%mail" is not valid.'
,
array
(
'%mail'
=>
$mail
));
}
}
...
...
modules/user/user.module
View file @
89510864
...
...
@@ -171,7 +171,7 @@ function user_validate_name($name) {
function
user_validate_mail
(
$mail
)
{
if
(
!
$mail
)
return
t
(
'You must enter an e-mail address.'
);
if
(
$mail
&&
!
valid_email_address
(
$mail
))
{
if
(
!
valid_email_address
(
$mail
))
{
return
t
(
'The e-mail address "%mail" is not valid.'
,
array
(
'%mail'
=>
$mail
));
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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