bug 1138: added $ticketno to function call
authorINOPIAE <inopiae@cacert.org>
Tue, 11 Mar 2014 21:45:34 +0000 (22:45 +0100)
committerINOPIAE <inopiae@cacert.org>
Tue, 11 Mar 2014 21:45:34 +0000 (22:45 +0100)
pages/account/43.php

index 73fb071..c0ca26e 100644 (file)
@@ -954,7 +954,7 @@ if(intval($_REQUEST['userid']) > 0) {
     <?
     //  if(array_key_exists('assuredto',$_GET) && $_GET['assuredto'] == "yes") {
 
-    function showassuredto()
+    function showassuredto($ticketno)
     {
     ?>
     <table align="center" valign="middle" border="0" cellspacing="0" cellpadding="0" class="wrapper">
@@ -1001,7 +1001,7 @@ if(intval($_REQUEST['userid']) > 0) {
     <?
     }
 
-    function showassuredby()
+    function showassuredby($ticketno)
     {
     ?>
     <table align="center" valign="middle" border="0" cellspacing="0" cellpadding="0" class="wrapper">
@@ -1053,10 +1053,10 @@ if(intval($_REQUEST['userid']) > 0) {
 if(isset($_GET['shownotary'])) {
     switch($_GET['shownotary']) {
         case 'assuredto':
-            showassuredto();
+            showassuredto($ticketno);
             break;
         case 'assuredby':
-            showassuredby();
+            showassuredby($ticketno);
             break;
         case 'assuredto15':
             output_received_assurances(intval($_GET['userid']),1,$ticketno);