From 00813282e1053cb34c3c44630c86de42b4487b00 Mon Sep 17 00:00:00 2001 From: Joe Hunt Date: Sun, 10 Jan 2010 09:59:27 +0000 Subject: [PATCH] Rerun --- admin/fiscalyears.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/admin/fiscalyears.php b/admin/fiscalyears.php index 4d3f87f..b507abb 100644 --- a/admin/fiscalyears.php +++ b/admin/fiscalyears.php @@ -204,6 +204,8 @@ function delete_attachments_and_comments($type_no, $trans_no) } $sql = "DELETE FROM ".TB_PREF."comments WHERE type = $type_no AND id = $trans_no"; db_query($sql, "Could not delete comments"); + $sql = "DELETE FROM ".TB_PREF."refs WHERE type = $type_no AND id = $trans_no"; + db_query($sql, "Could not delete refs"); } function delete_this_fiscalyear($selected_id) -- 2.30.2