Fixed memo duplication after bank payment edition.
authorJanusz Dobrowolski <janusz@frontaccounting.eu>
Fri, 6 Aug 2010 07:56:06 +0000 (07:56 +0000)
committerJanusz Dobrowolski <janusz@frontaccounting.eu>
Fri, 6 Aug 2010 07:56:06 +0000 (07:56 +0000)
gl/includes/db/gl_db_bank_trans.inc

index 3face339851f19604b27ac28079165c0ae7c3de5..24b60d9cb45b5d2e5146542caaf380f26e2631a5 100644 (file)
@@ -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();
 }