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
523
$dbquery->from('customer', 'c');
@@ -517,6 +530,10 @@ public function getSubscribers()
517
530
$dbquery->where('c.`email` LIKE \'%' . pSQL($this->_searched_email) . '%\'');
518
531
}
519
532
533
+
if (!empty($shopIds)) {
534
+
$dbquery->where('c.`id_shop` IN (' . implode(',', $shopIds) . ')');
0 commit comments