X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=inventory%2Fincludes%2Finventory_db.inc;h=d7b20c9d8f72cdfee4cc32763144c272a68ce4de;hb=e573cb83555185c05e28f486f105ec9a8c435190;hp=2e22d692f9fa072998f81b83fc075df4475ec723;hpb=f88c242c12a03d9e9ad0872a5a969d4557db1b86;p=fa-stable.git diff --git a/inventory/includes/inventory_db.inc b/inventory/includes/inventory_db.inc index 2e22d692..d7b20c9d 100644 --- a/inventory/includes/inventory_db.inc +++ b/inventory/includes/inventory_db.inc @@ -24,4 +24,9 @@ include_once($path_to_root . "/inventory/includes/db/items_adjust_db.inc"); include_once($path_to_root . "/inventory/includes/db/items_transfer_db.inc"); include_once($path_to_root . "/inventory/includes/db/items_units_db.inc"); +function item_img_name($stock_id) +{ + return strtr($stock_id, "><\\/:|*?", '________'); +} + ?> \ No newline at end of file