// update security injections

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@10362 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
vSchoener committed 2011-11-21 16:07:40 +00:00
1 parent 7ec7dd4bbe
commit b45021c243
1 file changed
+3 -3
@@ -262,7 +262,7 @@ class AdminAccountingExportControllerCore extends AdminController
o.`total_paid_real`, o.`total_paid_real`,
o.`invoice_date`, o.`invoice_date`,
pcc.`transaction_id`, pcc.`transaction_id`,
CONCAT(\''.$this->clientPrefix.'\', LPAD(c.`id_customer`, 6, 0)) AS account_client CONCAT(\''.pSQL($this->clientPrefix).'\', LPAD(c.`id_customer`, 6, 0)) AS account_client
FROM `'._DB_PREFIX_.'orders` o FROM `'._DB_PREFIX_.'orders` o
LEFT JOIN `'._DB_PREFIX_.'customer` c ON c.`id_customer` = o.`id_customer` LEFT JOIN `'._DB_PREFIX_.'customer` c ON c.`id_customer` = o.`id_customer`
LEFT JOIN `'._DB_PREFIX_.'address` a ON a.`id_customer` = o.`id_customer` LEFT JOIN `'._DB_PREFIX_.'address` a ON a.`id_customer` = o.`id_customer`
@@ -387,7 +387,7 @@ class AdminAccountingExportControllerCore extends AdminController
pcc.`transaction_id`, pcc.`transaction_id`,
o.`payment` AS payment_type, o.`payment` AS payment_type,
currency.`iso_code` as currency_code, currency.`iso_code` as currency_code,
CONCAT(\''.$this->clientPrefix.'\', LPAD(customer.`id_customer`, 6, 0)) AS account_client, CONCAT(\''.pSQL($this->clientPrefix).'\', LPAD(customer.`id_customer`, 6, 0)) AS account_client,
CASE CASE
WHEN (a.`company` != "" AND a.`company` IS NOT NULL) THEN a.`company` WHEN (a.`company` != "" AND a.`company` IS NOT NULL) THEN a.`company`
ELSE a.`lastname` ELSE a.`lastname`
@@ -439,4 +439,4 @@ class AdminAccountingExportControllerCore extends AdminController
@readfile($path); @readfile($path);
exit(); exit();
} }
} }