Index: src/admin/gm_pdf_order.php IDEA additional info: Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP <+>UTF-8 =================================================================== --- src/admin/gm_pdf_order.php (revision d005e9c29d8cfc29ea46a743cc79a8e0ee11b8cd) +++ src/admin/gm_pdf_order.php (revision ) @@ -645,7 +645,7 @@ if($_GET['type'] == 'invoice') { $t_pdf_name = xtc_cleanName(trim($gm_order_pdf_values['GM_PDF_HEADING']), '_') . '_' . (int)$_GET['oID'] . '.pdf'; - $t_pdf_path = DIR_FS_CATALOG . '/export/invoice/' . (int)$_GET['oID'] . '__' . $order_check['gm_orders_code'] . '__' . date("Y-m-d-H-i-s") . '__' . FileLog::get_secure_token() . '.pdf'; + $t_pdf_path = DIR_FS_CATALOG . '/export/invoice/' . (int)$_GET['oID'] . '__' . xtc_cleanName($order_check['gm_orders_code']) . '__' . date("Y-m-d-H-i-s") . '__' . FileLog::get_secure_token() . '.pdf'; } else { \ No newline at end of file