Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
9db1abf5
Commit
9db1abf5
authored
Aug 08, 2008
by
Dries
Browse files
- Patch
#165642
by Damien Tournoud et al: fixed SQL error.
parent
5ebbdd0c
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/user/user.module
View file @
9db1abf5
...
...
@@ -1367,8 +1367,11 @@ function user_login_submit($form, &$form_state) {
function
user_external_login_register
(
$name
,
$module
)
{
global
$user
;
$user
=
user_load
(
array
(
'name'
=>
$name
));
if
(
!
isset
(
$user
->
uid
))
{
$existing_user
=
user_load
(
array
(
'name'
=>
$name
));
if
(
isset
(
$existing_user
->
uid
))
{
$user
=
$existing_user
;
}
else
{
// Register this new user.
$userinfo
=
array
(
'name'
=>
$name
,
...
...
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