Update api_contacts.class.php

This commit is contained in:
ptibogxiv 2020-04-15 18:30:51 +02:00 committed by GitHub
parent 81bed88cb1
commit 03655ffe8d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 ";