diff options
Diffstat (limited to 'pages/account/43.php')
-rw-r--r-- | pages/account/43.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pages/account/43.php b/pages/account/43.php index a81d9a3..7aac46f 100644 --- a/pages/account/43.php +++ b/pages/account/43.php @@ -26,10 +26,10 @@ include_once($_SESSION['_config']['filepath']."/includes/notary.inc.php"); $res = mysql_query("select `to` from `notary` where `id`='$assurance' and `deleted` = 0"); if ($res) { $row = mysql_fetch_assoc($res); - } - mysql_query("update `notary` set `deleted`=NOW() where `id`='$assurance'"); - if ($row) { - fix_assurer_flag($row['to']); + mysql_query("update `notary` set `deleted`=NOW() where `id`='$assurance'"); + if ($row) { + fix_assurer_flag($row['to']); + } } } |