From 121f820f6ef69603e4c332caf90872ee0227309c Mon Sep 17 00:00:00 2001 From: INOPIAE Date: Mon, 13 May 2013 22:44:15 +0200 Subject: bug 782: changed of line order --- includes/account.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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']."'"); } -- cgit v1.2.1