From 2bbc6d5fa684a6408cede61b3f3fb822e77e8562 Mon Sep 17 00:00:00 2001 From: Marion Muszynski Date: Wed, 19 Apr 2017 12:36:41 +0200 Subject: [PATCH] addition of carrier filter for active ones --- modules/privatesales/AdminPrivateSalesSales.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/privatesales/AdminPrivateSalesSales.php b/modules/privatesales/AdminPrivateSalesSales.php index 89bfc7f8..ca95f48e 100755 --- a/modules/privatesales/AdminPrivateSalesSales.php +++ b/modules/privatesales/AdminPrivateSalesSales.php @@ -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');