mirror of
https://github.com/pierre42100/ComunicAPI
synced 2025-06-19 00:25:18 +00:00
Can return the URL and the description of a group to the API.
This commit is contained in:
@ -620,6 +620,10 @@ class GroupsComponent {
|
||||
|
||||
//Parse advanced information
|
||||
$info->set_time_create($data["time_create"]);
|
||||
if($data["description"] != null && $data["description"] != "" && $data["description"] != "null")
|
||||
$info->set_description($data["description"]);
|
||||
if($data["url"] != null && $data["url"] != "" && $data["url"] != "null")
|
||||
$info->set_url($data["url"]);
|
||||
|
||||
return $info;
|
||||
|
||||
|
Reference in New Issue
Block a user