We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe55f95 commit 2f7a293Copy full SHA for 2f7a293
src/Core/Attendee.php
@@ -80,8 +80,10 @@ public function __construct($xml)
80
$this->hasVideo = $xml->hasVideo->__toString() === 'true';
81
$this->clientType = $xml->clientType->__toString();
82
83
- foreach ($xml->customdata->children() as $data) {
84
- $this->customData[$data->getName()] = $data->__toString();
+ if ($xml->customdata) {
+ foreach ($xml->customdata->children() as $data) {
85
+ $this->customData[$data->getName()] = $data->__toString();
86
+ }
87
}
88
89
0 commit comments