summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorINOPIAE <inopiae@cacert.org>2014-01-19 17:40:18 +0100
committerINOPIAE <inopiae@cacert.org>2014-01-19 17:40:18 +0100
commite8eec19fe90c387df1420d92a314cf3ab04ef483 (patch)
tree10a7b55a46e71b1fa55638199ee8e87ad5608ae5
parent26212f7d4dd22392fcfce8487df3bd64dcead545 (diff)
downloadcacert-devel-e8eec19fe90c387df1420d92a314cf3ab04ef483.tar.gz
cacert-devel-e8eec19fe90c387df1420d92a314cf3ab04ef483.tar.xz
cacert-devel-e8eec19fe90c387df1420d92a314cf3ab04ef483.zip
bug 1138: changed Ticket form handling
-rw-r--r--includes/account.php2
-rw-r--r--pages/account/43.php6
2 files changed, 4 insertions, 4 deletions
diff --git a/includes/account.php b/includes/account.php
index 9e24159..162d8d9 100644
--- a/includes/account.php
+++ b/includes/account.php
@@ -2701,7 +2701,7 @@
}
//check if ticket number was entered
- if ( $oldid== 43) {
+ if ( $id== 43) {
$ticketno=mysql_real_escape_string($_REQUEST['ticketno']);
$ticketvalidation=valid_ticket_number($ticketno);
$_SESSION['ticketno']=$ticketno;
diff --git a/pages/account/43.php b/pages/account/43.php
index fe4a111..ec82b5a 100644
--- a/pages/account/43.php
+++ b/pages/account/43.php
@@ -158,14 +158,14 @@ if(intval($_REQUEST['userid']) > 0) {
//Ticket number
?>
-<!--
+
<form method="post" action="account.php?id=43&userid=<?=intval($_REQUEST['userid'])?>">
<table align="center" valign="middle" border="0" cellspacing="0" cellpadding="0" class="wrapper">
<tr>
<td colspan="2" class="title"><?=_('Ticket handling') ?></td>
</tr>
<tr>
- <td class="DataTD"><?=_('Ticket no:')?>:</td>
+ <td class="DataTD"><?=_('Ticket no')?>:</td>
<td class="DataTD"><input type="text" name="ticketno" value="<?=$ticketno?>"/></td>
</tr>
<tr>
@@ -177,7 +177,7 @@ if(intval($_REQUEST['userid']) > 0) {
</table>
</form>
<br/>
--->
+
<!-- display data table -->
<table align="center" valign="middle" border="0" cellspacing="0" cellpadding="0" class="wrapper">