You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$dbquery->select('c.`id_customer` AS `id`, s.`name` AS `shop_name`, gl.`name` AS `gender`, c.`lastname`, c.`firstname`, c.`email`, c.`newsletter` AS `subscribed`, c.`newsletter_date_add`, l.`iso_code`');
510
526
$dbquery->from('customer', 'c');
@@ -517,6 +533,10 @@ public function getSubscribers()
517
533
$dbquery->where('c.`email` LIKE \'%' . pSQL($this->_searched_email) . '%\'');
518
534
}
519
535
536
+
if (!empty($shopIds)) {
537
+
$dbquery->where('c.`id_shop` IN (' . implode(',', $shopIds) . ')');
0 commit comments