Fix: elimination of product categories from the dropdown
This commit is contained in:
parent
dff17be454
commit
29a4af0177
@ -147,9 +147,9 @@ class mailing_kiwi extends MailingTargets
|
|||||||
$s.='<select name="filter" class="flat">';
|
$s.='<select name="filter" class="flat">';
|
||||||
|
|
||||||
# Show categories
|
# Show categories
|
||||||
$sql = "SELECT rowid, label, type";
|
$sql = "SELECT rowid, label, type";
|
||||||
$sql.= " FROM ".MAIN_DB_PREFIX."categorie";
|
$sql.= " FROM ".MAIN_DB_PREFIX."categorie";
|
||||||
$sql.= " WHERE visible > 0";
|
$sql.= " WHERE visible > 0 AND type > 0";
|
||||||
$sql.= " ORDER BY label";
|
$sql.= " ORDER BY label";
|
||||||
|
|
||||||
$resql = $this->db->query($sql);
|
$resql = $this->db->query($sql);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user