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
8c037610
Commit
8c037610
authored
May 19, 2003
by
Kjartan Mannes
Browse files
- $_SERVER["edit"] -> $_POST["edit"]
parent
1a2f8acb
Changes
2
Hide whitespace changes
Inline
Side-by-side
modules/user.module
View file @
8c037610
...
...
@@ -874,7 +874,7 @@ function user_register($edit = array()) {
function
user_delete
()
{
global
$user
;
$edit
=
$_
SERVER
[
"edit"
];
$edit
=
$_
POST
[
"edit"
];
if
(
$edit
[
"confirm"
])
{
watchdog
(
"user"
,
"
$user->name
deactivated her own account."
);
...
...
modules/user/user.module
View file @
8c037610
...
...
@@ -874,7 +874,7 @@ function user_register($edit = array()) {
function
user_delete
()
{
global
$user
;
$edit
=
$_
SERVER
[
"edit"
];
$edit
=
$_
POST
[
"edit"
];
if
(
$edit
[
"confirm"
])
{
watchdog
(
"user"
,
"
$user->name
deactivated her own account."
);
...
...
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