[-] BO : #PSCFI-4783 : Corrected some errors and added a field in order fox an export bug of csv
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@13215 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -114,7 +114,7 @@ class Newsletter extends Module
|
||||
fclose($fd);
|
||||
$this->_html .= $this->displayConfirmation(
|
||||
$this->l('The .CSV file has been successfully exported.').
|
||||
' ('.$nb.' '.$this->l('customers found').')<br />>
|
||||
' ('.$nb.' '.$this->l('customers found').')<br />
|
||||
<a href="../modules/newsletter/'.Tools::safeOutput(strval($_POST['action'])).'_'.$this->_file.'"><b>'.$this->l('Download the file').' '.$this->_file.'</b></a>
|
||||
<br />
|
||||
<ol style="margin-top: 10px;">
|
||||
@@ -161,7 +161,7 @@ class Newsletter extends Module
|
||||
FROM `'._DB_PREFIX_.'newsletter`
|
||||
WHERE `active` = 1');
|
||||
|
||||
$header = array('id_customer', 'email', 'newsletter_date_add', 'ip_address');
|
||||
$header = array('id_customer', 'email', 'newsletter_date_add', 'ip_address', 'http_referer');
|
||||
$result = (is_array($rq) ? array_merge(array($header), $rq) : $header);
|
||||
return $result;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user