X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=inventory%2Fincludes%2Finventory_db.inc;h=d7b20c9d8f72cdfee4cc32763144c272a68ce4de;hb=588ed54d44a168d4355838f0d3493bcb639ec03c;hp=2e22d692f9fa072998f81b83fc075df4475ec723;hpb=d567a10b7925c8bb97c734e213d6651a979af29d;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