Update api_contacts.class.php
This commit is contained in:
parent
81bed88cb1
commit
03655ffe8d
@ -158,7 +158,7 @@ class Contacts extends DolibarrApi
|
||||
$sql .= " AND sc.fk_user = ".$search_sale;
|
||||
}
|
||||
|
||||
// Select products of given category
|
||||
// Select contacts of given category
|
||||
if ($category > 0) {
|
||||
$sql .= " AND c.fk_categorie = ".$db->escape($category);
|
||||
$sql .= " AND c.fk_socpeople = t.rowid ";
|
||||
|
||||
Loading…
Reference in New Issue
Block a user