bug 1138: changed Ticket form handling
authorINOPIAE <inopiae@cacert.org>
Sun, 19 Jan 2014 16:40:18 +0000 (17:40 +0100)
committerINOPIAE <inopiae@cacert.org>
Sun, 19 Jan 2014 16:40:18 +0000 (17:40 +0100)
includes/account.php
pages/account/43.php

index 9e24159..162d8d9 100644 (file)
        }
 
        //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;
index fe4a111..ec82b5a 100644 (file)
@@ -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">