X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=fixed_assets%2Fincludes%2Ffixed_assets_db.inc;h=b74dd0017bde111b317c46a314e28102604382e0;hb=a001646bef2b971535791d4e67b8565684d6de24;hp=11c9c027d50662f5d85d8fbf5c87174f9ca21750;hpb=95ff74b5722826544743a01daf527aa3c9efe11a;p=fa-stable.git diff --git a/fixed_assets/includes/fixed_assets_db.inc b/fixed_assets/includes/fixed_assets_db.inc index 11c9c027..b74dd001 100644 --- a/fixed_assets/includes/fixed_assets_db.inc +++ b/fixed_assets/includes/fixed_assets_db.inc @@ -17,7 +17,7 @@ function process_fixed_asset_depreciation($stock_id, $gl_rows, $refline, $memo_) $row = get_item($stock_id); $old_cost = $row['material_cost']; - begin_transaction(); + begin_transaction(__FUNCTION__, func_get_args()); $date_ = Today(); if (!is_date_in_fiscalyear($date_))