projects
/
textcart.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed89e38
)
Rerun
author
Joe Hunt
<joe.hunt.consulting@gmail.com>
Sun, 10 Jan 2010 09:59:27 +0000
(09:59 +0000)
committer
Joe Hunt
<joe.hunt.consulting@gmail.com>
Sun, 10 Jan 2010 09:59:27 +0000
(09:59 +0000)
admin/fiscalyears.php
patch
|
blob
|
history
diff --git
a/admin/fiscalyears.php
b/admin/fiscalyears.php
index 4d3f87f0741a9ba7d18cc0e177c006f23a41ffae..b507abbac7a085cb0e05852f1e1c915d71766162 100644
(file)
--- 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)