Can return the URL and the description of a group to the API.

This commit is contained in:
Pierre HUBERT
2018-07-15 18:55:00 +02:00
parent b1e01dbb09
commit 91943a49ab
3 changed files with 38 additions and 5 deletions

View File

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