summaryrefslogtreecommitdiff
path: root/modules/user
diff options
context:
space:
mode:
authorKjartan Mannes <kjartan@2.no-reply.drupal.org>2003-05-19 18:59:34 +0000
committerKjartan Mannes <kjartan@2.no-reply.drupal.org>2003-05-19 18:59:34 +0000
commit8c037610ab17bbef5958d9ea5515e93526e72711 (patch)
tree97817cd2027d01f03ab6f6279f34bc846d04b926 /modules/user
parent1a2f8acb2c9f92cdc5943456c34ade5e5d8f9b12 (diff)
downloadbrdo-8c037610ab17bbef5958d9ea5515e93526e72711.tar.gz
brdo-8c037610ab17bbef5958d9ea5515e93526e72711.tar.bz2
- $_SERVER["edit"] -> $_POST["edit"]
Diffstat (limited to 'modules/user')
-rw-r--r--modules/user/user.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/user/user.module b/modules/user/user.module
index dcd68a5ec..ac6666a20 100644
--- a/modules/user/user.module
+++ b/modules/user/user.module
@@ -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.");