mirror of
https://github.com/pierre42100/ComunicAPI
synced 2024-11-27 15:59:29 +00:00
Fixed error.
This commit is contained in:
parent
620e4ac23b
commit
e1c8399a74
@ -106,7 +106,7 @@ class GroupsComponent {
|
|||||||
);
|
);
|
||||||
|
|
||||||
if(count($data) < 1)
|
if(count($data) < 1)
|
||||||
throw new Exception("Group " + $id + " does not exists!");
|
throw new Exception("Group " . $id . " does not exists!");
|
||||||
|
|
||||||
return $data[0]["visibility"];
|
return $data[0]["visibility"];
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user