mirror of https://github.com/sualko/cloud_bbb
fix: #309 group displayname might be null
parent
e2c58cd791
commit
834e2a7800
|
@ -34,8 +34,8 @@ class Restriction extends Entity implements JsonSerializable {
|
||||||
$this->addType('allowRecording', 'boolean');
|
$this->addType('allowRecording', 'boolean');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setGroupName(string $groupName) {
|
public function setGroupName(?string $groupName) {
|
||||||
$this->groupName = $groupName;
|
$this->groupName = $groupName ?? '';
|
||||||
}
|
}
|
||||||
|
|
||||||
public function jsonSerialize(): array {
|
public function jsonSerialize(): array {
|
||||||
|
|
Loading…
Reference in New Issue