// Change prototype of methods from(), leftJoin(), innerJoin(), leftOuterJoin() and naturalJoin() for DbQuery class

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11351 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
rMalie
2011-12-19 11:13:13 +00:00
parent 09d15124b0
commit b7ae37f6d7
23 changed files with 183 additions and 202 deletions
+1 -1
View File
@@ -130,7 +130,7 @@ class Newsletter extends Module
{
$dbquery = new DbQuery();
$dbquery->select('c.`id_customer`, c.`lastname`, c.`firstname`, c.`email`, c.`ip_registration_newsletter`, c.`newsletter_date_add`')
->from('customer c')
->from('customer', 'c')
->groupBy('c.`email`');
if (Tools::getValue('SUSCRIBERS'))