Commit 8c037610 authored by Kjartan's avatar Kjartan

- $_SERVER["edit"] -> $_POST["edit"]

parent 1a2f8acb
......@@ -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.");
......
......@@ -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.");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment