summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorINOPIAE <inopiae@cacert.org>2013-06-19 22:34:26 +0200
committerINOPIAE <inopiae@cacert.org>2013-06-19 22:34:26 +0200
commit8b5966d9b3cef890b21c0f9af883bf8beecb75cc (patch)
tree9d42ad955ce23e04147710a8990830e449603d0e
parentfd647f3053cc8b97f0cf3d0a1b16d69e280db361 (diff)
downloadcacert-devel-8b5966d9b3cef890b21c0f9af883bf8beecb75cc.tar.gz
cacert-devel-8b5966d9b3cef890b21c0f9af883bf8beecb75cc.tar.xz
cacert-devel-8b5966d9b3cef890b21c0f9af883bf8beecb75cc.zip
bug 782: removed var dump and added some echo for trace
-rw-r--r--includes/account.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/includes/account.php b/includes/account.php
index b89afea..a0f9677 100644
--- a/includes/account.php
+++ b/includes/account.php
@@ -1023,12 +1023,13 @@
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']."'");
@@ -1822,7 +1823,6 @@
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_")
@@ -2181,7 +2181,6 @@
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_")