diff options
author | INOPIAE <inopiae@cacert.org> | 2013-05-13 22:44:15 +0200 |
---|---|---|
committer | INOPIAE <inopiae@cacert.org> | 2013-05-13 22:44:15 +0200 |
commit | 121f820f6ef69603e4c332caf90872ee0227309c (patch) | |
tree | 969540449be56804fb3596d3aeae4f574d327f48 | |
parent | b4af4ce47b780a6fb46300dcf8c04eaaa56dc213 (diff) | |
download | cacert-devel-121f820f6ef69603e4c332caf90872ee0227309c.tar.gz cacert-devel-121f820f6ef69603e4c332caf90872ee0227309c.tar.xz cacert-devel-121f820f6ef69603e4c332caf90872ee0227309c.zip |
bug 782: changed of line order
-rw-r--r-- | includes/account.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/account.php b/includes/account.php index 7e29084..024238b 100644 --- a/includes/account.php +++ b/includes/account.php @@ -1146,8 +1146,8 @@ } if(substr($id,0,14)=="check_comment_") { + $cid = intval(substr($id,14)); if (!empty($_REQUEST['check_comment_'.$id])) { - $cid = intval(substr($id,14)); $comment=trim(mysql_real_escape_string(stripslashes($_REQUEST['comment_'.$cid]))); mysql_query("update `emailcerts` set `description`='$comment' where `id`='$cid' and `memid`='".$_SESSION['profile']['id']."'"); } |