diff options
author | INOPIAE <inopiae@cacert.org> | 2013-06-19 22:47:34 +0200 |
---|---|---|
committer | INOPIAE <inopiae@cacert.org> | 2013-06-19 22:47:34 +0200 |
commit | a93fac2bda18d11afaa09cbdd766a6492e61d35e (patch) | |
tree | 17c067bbbe6242d7266fb2ccb76b0e8dc0f3bd9a | |
parent | 8b5966d9b3cef890b21c0f9af883bf8beecb75cc (diff) | |
download | cacert-devel-a93fac2bda18d11afaa09cbdd766a6492e61d35e.tar.gz cacert-devel-a93fac2bda18d11afaa09cbdd766a6492e61d35e.tar.xz cacert-devel-a93fac2bda18d11afaa09cbdd766a6492e61d35e.zip |
bug 782: removed trace echo and removes if statement in block comments for 12.php
-rw-r--r-- | includes/account.php | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/includes/account.php b/includes/account.php index a0f9677..3039248 100644 --- a/includes/account.php +++ b/includes/account.php @@ -1025,15 +1025,11 @@ showheader(_("My CAcert.org Account!")); foreach($_REQUEST as $id => $val) { - echo "id:".$id."</br>"; if(substr($id,0,14)=="check_comment_") { $cid = intval(substr($id,14)); - echo "cid".$cid."</br>"; - if(!empty($_REQUEST['check_comment_'.$cid])) { - $comment=trim(mysql_real_escape_string(stripslashes($_REQUEST['comment_'.$cid]))); - mysql_query("update `domaincerts` set `description`='$comment' where `id`='$cid' and `memid`='".$_SESSION['profile']['id']."'"); - } + $comment=trim(mysql_real_escape_string(stripslashes($_REQUEST['comment_'.$cid]))); + mysql_query("update `domaincerts` set `description`='$comment' where `id`='$cid' and `memid`='".$_SESSION['profile']['id']."'"); } } echo(_("Certificate settings have been changed.")."<br/>\n"); |