diff options
-rw-r--r-- | includes/account.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/account.php b/includes/account.php index 07b93b6..232bbac 100644 --- a/includes/account.php +++ b/includes/account.php @@ -1162,13 +1162,13 @@ }else{ $description= ""; } - } + if(trim($_REQUEST['disablelogin']) == "1"){ $disablelogin = 1; }else{ $disablelogin = 0; } - } + mysql_query("update `emailcerts` set `disablelogin`='$disablelogin', `description`='description' where `id`='".$_REQUEST['certid']."' and `memid`='".$_SESSION['profile']['id']."'"); } |