Projekt

Allgemein

Profil

GX-Abgewiesen #42294 » PDFInvoiceFix.patch

/admin/gm_pdf_order.php - Till Tepelmann, 30.06.2015 17:19

Unterschiede anzeigen:

src/admin/gm_pdf_order.php (revision )
645 645
if($_GET['type'] == 'invoice')
646 646
{
647 647
	$t_pdf_name = xtc_cleanName(trim($gm_order_pdf_values['GM_PDF_HEADING']), '_') . '_' . (int)$_GET['oID'] . '.pdf';
648
	$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';
648
	$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';
649 649
}
650 650
else
651 651
{
    (1-1/1)