diff options
-rw-r--r-- | includes/account.php | 5 | ||||
-rw-r--r-- | pages/account/12.php | 4 | ||||
-rw-r--r-- | pages/account/5.php | 2 |
3 files changed, 7 insertions, 4 deletions
diff --git a/includes/account.php b/includes/account.php index 1bf6961..3d7a277 100644 --- a/includes/account.php +++ b/includes/account.php @@ -1023,6 +1023,7 @@ if($oldid == 12 && 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_") @@ -1216,7 +1217,7 @@ $disablelogin = 0; } - mysql_query("update `emailcerts` set `disablelogin`='$disablelogin', `description`='description' where `id`='".$_REQUEST['certid']."' and `memid`='".$_SESSION['profile']['id']."'"); + mysql_query("update `emailcerts` set `disablelogin`='$disablelogin', `description`='$description' where `id`='".$_REQUEST['certid']."' and `memid`='".$_SESSION['profile']['id']."'"); } if($oldid == 13 && $process != "") @@ -1821,6 +1822,7 @@ 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_") @@ -2179,6 +2181,7 @@ 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_") diff --git a/pages/account/12.php b/pages/account/12.php index 6d4e86e..6d85cdc 100644 --- a/pages/account/12.php +++ b/pages/account/12.php @@ -51,7 +51,7 @@ { ?> <tr> - <td colspan="6" class="DataTD"><?=_("No certificates are currently listed.")?></td> + <td colspan="8" class="DataTD"><?=_("No certificates are currently listed.")?></td> </tr> <? } else { while($row = mysql_fetch_assoc($res)) @@ -96,7 +96,7 @@ </tr> <? } ?> <tr> - <td class="DataTD" colspan="6"><?=_("From here you can delete pending requests, or revoke valid certificates.")?></td> + <td class="DataTD" colspan="8"><?=_("From here you can delete pending requests, or revoke valid certificates.")?></td> </tr> </table> <input type="hidden" name="oldid" value="<?=$id?>"/> diff --git a/pages/account/5.php b/pages/account/5.php index bfd049c..9607850 100644 --- a/pages/account/5.php +++ b/pages/account/5.php @@ -40,7 +40,7 @@ `emailcerts`.`id`, `emailcerts`.`CN`, `emailcerts`.`serial`, - emailcerts.disablelogin as `disablelogin`, + `emailcerts`.`disablelogin` as `disablelogin`, `emailcerts`.`description` from `emailcerts` where `emailcerts`.`memid`='".$_SESSION['profile']['id']."' |