diff options
Diffstat (limited to 'www/gpg.php')
-rw-r--r-- | www/gpg.php | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/www/gpg.php b/www/gpg.php index 9356aea..b7c9989 100644 --- a/www/gpg.php +++ b/www/gpg.php @@ -517,10 +517,8 @@ function verifyEmail($email) if(substr($id,0,14)=="check_comment_") { $cid = intval(substr($id,14)); - if(!empty($_REQUEST['check_comment_'.$cid])) { - $comment=trim(mysql_real_escape_string(stripslashes($_REQUEST['comment_'.$cid]))); - mysql_query("update `gpg` set `description`='$comment' where `id`='$cid' and `memid`='".$_SESSION['profile']['id']."'"); - } + $comment=trim(mysql_real_escape_string(stripslashes($_REQUEST['comment_'.$cid]))); + mysql_query("update `gpg` set `description`='$comment' where `id`='$cid' and `memid`='".$_SESSION['profile']['id']."'"); } } echo(_("Certificate settings have been changed.")."<br/>\n"); |