addition of carrier filter for active ones

This commit is contained in:
Marion Muszynski 2017-04-19 12:36:41 +02:00
parent 5d10aa4c72
commit 2bbc6d5fa6

View File

@ -615,7 +615,7 @@ class AdminPrivateSalesSales extends AdminTab {
SELECT IFNULL(p.`id_sale`, NULL) FROM `'._DB_PREFIX_.'privatesale_carrier` p WHERE c.`id_carrier` = p.`id_carrier` AND p.`id_sale` = '.$this->cursale->id.'
) AS `id_sale`': '').'
FROM `'._DB_PREFIX_.'carrier` c
WHERE c.`deleted` != 1
WHERE c.`deleted` != 1 AND c.active =1
');
$carriers_default = Configuration::get('ANT_CARRIERS_SOCOL').','.Configuration::get('ANT_CARRIERS_MR');