bug 782: removed var dump and added some echo for trace
authorINOPIAE <inopiae@cacert.org>
Wed, 19 Jun 2013 20:34:26 +0000 (22:34 +0200)
committerINOPIAE <inopiae@cacert.org>
Wed, 19 Jun 2013 20:34:26 +0000 (22:34 +0200)
includes/account.php

index b89afea..a0f9677 100644 (file)
        if($oldid == 12 && array_key_exists('change',$_REQUEST) && $_REQUEST['change'] != "")
        {
                showheader(_("My CAcert.org Account!"));
-               vardump($_REQUEST);
                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']."'");
        if($oldid == 18 && array_key_exists('change',$_REQUEST) && $_REQUEST['change'] != "")
        {
                showheader(_("My CAcert.org Account!"));
-               vardump($_REQUEST);
                foreach($_REQUEST as $id => $val)
                {
                        if(substr($id,0,14)=="check_comment_")
        if($oldid == 22 && array_key_exists('change',$_REQUEST) && $_REQUEST['change'] != "")
        {
                showheader(_("My CAcert.org Account!"));
-               vardump($_REQUEST);
                foreach($_REQUEST as $id => $val)
                {
                        if(substr($id,0,14)=="check_comment_")