X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=gl%2Fincludes%2Fgl_db.inc;fp=gl%2Fincludes%2Fgl_db.inc;h=7a9c49002b7198914918fa9ab7dbf90b166fdddb;hb=89e8ca2be9235215ac2e2bf5e58d7eedd2dda84d;hp=951af9ee9832214c4666e36b9038b3d810e85473;hpb=5a7ef37131354aabdcf04c639a903e5876b743e4;p=fa-stable.git diff --git a/gl/includes/gl_db.inc b/gl/includes/gl_db.inc index 951af9ee..7a9c4900 100644 --- a/gl/includes/gl_db.inc +++ b/gl/includes/gl_db.inc @@ -24,7 +24,7 @@ include_once($path_to_root . "/gl/includes/db/gl_db_account_types.inc"); function add_budget($account, $dim1, $dim2, $amounts) { - begin_transaction(); + begin_transaction(__FUNCTION__, func_get_args()); foreach($amounts as $date => $amount) { add_update_gl_budget_trans($date, $account, $dim1, $dim2, $amount); @@ -34,7 +34,7 @@ function add_budget($account, $dim1, $dim2, $amounts) function delete_budget($account, $dim1, $dim2, $dates) { - begin_transaction(); + begin_transaction(__FUNCTION__, func_get_args()); foreach($amounts as $date) { delete_gl_budget_trans($date, $account, $dim1, $dim2);