From: Janusz Dobrowolski Date: Fri, 6 Aug 2010 07:56:06 +0000 (+0000) Subject: Fixed memo duplication after bank payment edition. X-Git-Tag: v2.4.2~19^2~730 X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=commitdiff_plain;h=ab7f5643b4a397cf81e08b45cd1741a664fbf781;p=fa-stable.git Fixed memo duplication after bank payment edition. --- diff --git a/gl/includes/db/gl_db_bank_trans.inc b/gl/includes/db/gl_db_bank_trans.inc index 3face339..24b60d9c 100644 --- a/gl/includes/db/gl_db_bank_trans.inc +++ b/gl/includes/db/gl_db_bank_trans.inc @@ -180,7 +180,8 @@ function clear_bank_trans($type, $type_no, $nested=false) //Delete the reference $Refs->delete($type, $type_no); - + + delete_comments($type, $type_no); if (!$nested) commit_transaction(); }