bug 782: some echos for testing
authorINOPIAE <inopiae@cacert.org>
Tue, 14 May 2013 18:44:46 +0000 (20:44 +0200)
committerINOPIAE <inopiae@cacert.org>
Tue, 14 May 2013 18:44:46 +0000 (20:44 +0200)
includes/account.php

index 024238b..748dd9e 100644 (file)
        if($oldid == 5 && array_key_exists('change',$_REQUEST) && $_REQUEST['change'] != "")
        {
                showheader(_("My CAcert.org Account!"));
+echo var_dump($_REQUEST).'<br>';
                foreach($_REQUEST as $id => $val)
                {
                        if(substr($id,0,5)=="cert_")
                        if(substr($id,0,14)=="check_comment_")
                        {
                                $cid = intval(substr($id,14));
+echo 'cid:'.$cid.'<br>';
                                if (!empty($_REQUEST['check_comment_'.$id])) {
                                        $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']."'");