summaryrefslogtreecommitdiff
path: root/pages/account/43.php
diff options
context:
space:
mode:
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 dcfa378..e92950f 100644
--- a/pages/account/43.php
+++ b/pages/account/43.php
@@ -135,8 +135,8 @@ if(intval($_REQUEST['userid']) > 0) {
$res = mysql_query("select `to` from `notary` where `id`='$assurance' and `deleted` = 0");
if ($res) {
$trow = mysql_fetch_assoc($res);
- mysql_query("update `notary` set `deleted`=NOW() where `id`='$assurance'");
if ($trow) {
+ mysql_query("update `notary` set `deleted`=NOW() where `id`='$assurance'");
fix_assurer_flag($trow['to']);
}
}