Secrete group does not appear in search form.

This commit is contained in:
Pierre HUBERT 2018-07-31 11:25:09 +02:00
parent 53b72bd767
commit 54cff328d7

View File

@ -53,7 +53,7 @@ class search {
//Request
$results = db()->select(
GroupsComponent::GROUPS_LIST_TABLE,
"WHERE name LIKE ?",
"WHERE name LIKE ? AND visibility != ".GroupInfo::SECRET_GROUP,
array($query),
array("id")
);