Cleanup in types.inc
[fa-stable.git] / fixed_assets / includes / fixed_assets_db.inc
index 11c9c027d50662f5d85d8fbf5c87174f9ca21750..b74dd0017bde111b317c46a314e28102604382e0 100644 (file)
@@ -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_))