summaryrefslogtreecommitdiff
path: root/pages/account/43.php
diff options
context:
space:
mode:
authorINOPIAE <inopiae@cacert.org>2014-01-20 22:36:56 +0100
committerINOPIAE <inopiae@cacert.org>2014-01-20 22:36:56 +0100
commit73fc407c07205e87d537338101ba133393aa80e2 (patch)
treeddbed5c6edda56713f26493da7c4aa42abc2bc30 /pages/account/43.php
parent748e102c01f8f7b4f3d31489e319e5754a2a802e (diff)
downloadcacert-devel-73fc407c07205e87d537338101ba133393aa80e2.tar.gz
cacert-devel-73fc407c07205e87d537338101ba133393aa80e2.tar.xz
cacert-devel-73fc407c07205e87d537338101ba133393aa80e2.zip
bug 1138: added assurances to SE log, rework of assurance delete form delete assurance to deleted=Now()
Diffstat (limited to 'pages/account/43.php')
-rw-r--r--pages/account/43.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/pages/account/43.php b/pages/account/43.php
index 2c60226..73fb071 100644
--- a/pages/account/43.php
+++ b/pages/account/43.php
@@ -133,7 +133,7 @@ if(intval($_REQUEST['userid']) > 0) {
if ($res) {
$trow = mysql_fetch_assoc($res);
}
- mysql_query("delete from `notary` where `id`='$assurance'");
+ mysql_query("update `notary` set `deleted`=NOW() where `id`='$assurance'");
if ($trow) {
fix_assurer_flag($trow['to']);
write_se_log($userid, $_SESSION['profile']['id'], 'SE assurance revoke', $ticketno);