Returns posts creation level with group info.

This commit is contained in:
Pierre HUBERT
2018-07-16 08:38:54 +02:00
parent 39645de9ff
commit 18c5f2e64c
3 changed files with 28 additions and 0 deletions

View File

@ -591,6 +591,7 @@ class GroupsComponent {
$info->set_membership_level($this->getMembershipLevel(userID, $info->get_id()));
$info->set_visibility($data["visibility"]);
$info->set_registration_level($data["registration_level"]);
$info->set_posts_level($data["posts_level"]);
if($data["path_logo"] != null && $data["path_logo"] != "" && $data["path_logo"] != "null")
$info->set_logo($data["path_logo"]);