We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8ed25c0 commit f04981eCopy full SHA for f04981e
src/EventMeta.php
@@ -148,7 +148,7 @@ public function duplicateRegistrantsAllowed() {
148
*/
149
public function getRegistrationTypeIds() {
150
return array_map(function ($element) {
151
- return $element['target_id'];
+ return isset($element['target_id']) ? $element['target_id'] : [];
152
}, $this->getEvent()->{EventManagerInterface::FIELD_REGISTRATION_TYPE}->getValue());
153
}
154
0 commit comments