From 1a2f8acb2c9f92cdc5943456c34ade5e5d8f9b12 Mon Sep 17 00:00:00 2001 From: Kjartan Mannes Date: Mon, 19 May 2003 18:58:50 +0000 Subject: - Patch by Jonathan Chaffer: $_SERVER["op"] -> $_POST["op"] --- modules/user.module | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/user.module') diff --git a/modules/user.module b/modules/user.module index f5b42d91d..dcd68a5ec 100644 --- a/modules/user.module +++ b/modules/user.module @@ -67,7 +67,7 @@ function user_load($array = array()) { foreach ($array as $key => $value) { if ($key == "pass") { $query .= "u.$key = '". md5($value) ."' AND "; - } + } else { $query .= "u.$key = '". check_query($value) ."' AND "; } @@ -1384,7 +1384,7 @@ function user_admin_role($edit = array()) { function user_admin_edit($edit = array()) { - $op = $_SERVER["op"]; + $op = $_POST["op"]; $id = arg(3); if ($account = user_load(array("uid" => $id))) { -- cgit v1.2.3