Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
project
email_registration
Commits
31f90192
Commit
31f90192
authored
Oct 11, 2007
by
Chris Herberte
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
*** empty log message ***
parent
2becf911
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
email_registration.module
email_registration.module
+1
-0
No files found.
email_registration.module
View file @
31f90192
...
@@ -17,6 +17,7 @@ function email_registration_user($op, &$edit, &$account, $category = NULL) {
...
@@ -17,6 +17,7 @@ function email_registration_user($op, &$edit, &$account, $category = NULL) {
$nameidx
=
db_result
(
db_query
(
$sql
,
$namenew
));
$nameidx
=
db_result
(
db_query
(
$sql
,
$namenew
));
$namenew
.
=
'_'
.
(
$nameidx
+
1
);
$namenew
.
=
'_'
.
(
$nameidx
+
1
);
}
}
// replace with generated username
db_query
(
"UPDATE
{
users
}
SET name = '%s' WHERE uid = '%s'"
,
$namenew
,
$account
->
uid
);
db_query
(
"UPDATE
{
users
}
SET name = '%s' WHERE uid = '%s'"
,
$namenew
,
$account
->
uid
);
break
;
break
;
}
}
...
...
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