[-] MO : fixed bug #PSCFV-4952
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@17880 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
1 parent
310625d1f2
commit
66c2c332f9
1 file changed
+2
-1
@@ -278,7 +278,7 @@ class Followup extends Module
|
|||||||
{
|
{
|
||||||
$emailLogs = $this->getLogsEmail(1);
|
$emailLogs = $this->getLogsEmail(1);
|
||||||
$sql = '
|
$sql = '
|
||||||
SELECT c.id_cart, o.id_lang, cu.id_customer, cu.firstname, cu.lastname, cu.email
|
SELECT c.id_cart, c.id_lang, cu.id_customer, cu.firstname, cu.lastname, cu.email
|
||||||
FROM '._DB_PREFIX_.'cart c
|
FROM '._DB_PREFIX_.'cart c
|
||||||
LEFT JOIN '._DB_PREFIX_.'orders o ON (o.id_cart = c.id_cart)
|
LEFT JOIN '._DB_PREFIX_.'orders o ON (o.id_cart = c.id_cart)
|
||||||
LEFT JOIN '._DB_PREFIX_.'customer cu ON (cu.id_customer = c.id_customer)
|
LEFT JOIN '._DB_PREFIX_.'customer cu ON (cu.id_customer = c.id_customer)
|
||||||
@@ -482,6 +482,7 @@ class Followup extends Module
|
|||||||
|
|
||||||
public function cronTask()
|
public function cronTask()
|
||||||
{
|
{
|
||||||
|
Context::getContext()->link = new Link(); //when this is call by cron context is not init
|
||||||
$conf = Configuration::getMultiple(array('PS_FOLLOW_UP_ENABLE_1', 'PS_FOLLOW_UP_ENABLE_2', 'PS_FOLLOW_UP_ENABLE_3', 'PS_FOLLOW_UP_ENABLE_4', 'PS_FOLLOW_UP_CLEAN_DB'));
|
$conf = Configuration::getMultiple(array('PS_FOLLOW_UP_ENABLE_1', 'PS_FOLLOW_UP_ENABLE_2', 'PS_FOLLOW_UP_ENABLE_3', 'PS_FOLLOW_UP_ENABLE_4', 'PS_FOLLOW_UP_CLEAN_DB'));
|
||||||
|
|
||||||
if ($conf['PS_FOLLOW_UP_ENABLE_1'])
|
if ($conf['PS_FOLLOW_UP_ENABLE_1'])
|
||||||
|
|||||||
Reference in new issue
Block a user