From: Joe Hunt Date: Sun, 10 Jan 2010 09:59:27 +0000 (+0000) Subject: Rerun X-Git-Tag: 2.3-final~1059 X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=commitdiff_plain;h=c0c682e606906481e5635bbeaec542522748ec46;p=fa-stable.git Rerun --- diff --git a/admin/fiscalyears.php b/admin/fiscalyears.php index 4d3f87f0..b507abba 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)