Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
1c5a3947
Commit
1c5a3947
authored
Feb 09, 2004
by
Steven Wittens
Browse files
Bugfix: new user registration was broken.
See:
http://drupal.org/node/view/5741
parent
5abbc397
Changes
2
Hide whitespace changes
Inline
Side-by-side
modules/user.module
View file @
1c5a3947
...
...
@@ -789,6 +789,9 @@ function user_register($edit = array()) {
else
if
(
variable_get
(
"user_register"
,
1
)
==
0
)
{
$error
=
t
(
"Public registrations have been disabled by the site administrator."
);
}
else
{
$success
=
true
;
}
}
if
(
$success
)
{
...
...
modules/user/user.module
View file @
1c5a3947
...
...
@@ -789,6 +789,9 @@ function user_register($edit = array()) {
else
if
(
variable_get
(
"user_register"
,
1
)
==
0
)
{
$error
=
t
(
"Public registrations have been disabled by the site administrator."
);
}
else
{
$success
=
true
;
}
}
if
(
$success
)
{
...
...
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