mirror of
https://github.com/pierre42100/ComunicAPI
synced 2024-11-23 13:59:29 +00:00
Secrete group does not appear in search form.
This commit is contained in:
parent
53b72bd767
commit
54cff328d7
@ -53,7 +53,7 @@ class search {
|
|||||||
//Request
|
//Request
|
||||||
$results = db()->select(
|
$results = db()->select(
|
||||||
GroupsComponent::GROUPS_LIST_TABLE,
|
GroupsComponent::GROUPS_LIST_TABLE,
|
||||||
"WHERE name LIKE ?",
|
"WHERE name LIKE ? AND visibility != ".GroupInfo::SECRET_GROUP,
|
||||||
array($query),
|
array($query),
|
||||||
array("id")
|
array("id")
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user