parent
eef9c88cf0
commit
17d47b4257
@ -105,7 +105,7 @@ class AdvSlide extends ObjectModel
|
||||
// Check user group
|
||||
if (Configuration::get('ADVSLIDER_RESTRICT_GROUP')) {
|
||||
$groups = Customer::getGroupsStatic($context->customer->id);
|
||||
$sql.= ' AND EXISTS(SELECT * FROM `'._DB_PREFIX_.'advslider_group` ag WHERE ag.id_group IN('.join(',', $groups).'))';
|
||||
$sql.= ' AND EXISTS(SELECT * FROM `'._DB_PREFIX_.'advslider_group` ag WHERE ag.id_group IN('.join(',', $groups).')';
|
||||
}
|
||||
|
||||
// Check date
|
||||
|
Loading…
Reference in New Issue
Block a user