From: Joe Hunt Date: Sun, 10 Jan 2010 09:59:27 +0000 (+0000) Subject: Rerun X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=commitdiff_plain;h=00813282e1053cb34c3c44630c86de42b4487b00;p=textcart.git Rerun --- 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)