bug 1138: added revoke assurance routine
authorINOPIAE <inopiae@cacert.org>
Mon, 20 Jan 2014 16:15:18 +0000 (17:15 +0100)
committerINOPIAE <inopiae@cacert.org>
Mon, 20 Jan 2014 16:15:18 +0000 (17:15 +0100)
pages/account/43.php

index 34fc1ec..98f6356 100644 (file)
@@ -150,7 +150,7 @@ if(intval($_REQUEST['userid']) > 0) {
             mysql_query("delete from `notary` where `id`='$assurance'");
             if ($row) {
                 fix_assurer_flag($row['to']);
-                write_se_log($uid, $adminid, 'AD assurance revoke', $ticketno);
+                write_se_log($userid, $_SESSION['profile']['id'], 'AD assurance revoke', $ticketno);
             }
         } else {
             $ticketmsg=_('No assurance revoked. Ticket number is missing!');