Skip to content

Commit f04981e

Browse files
committed
Fix dpi#181
1 parent 8ed25c0 commit f04981e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/EventMeta.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ public function duplicateRegistrantsAllowed() {
148148
*/
149149
public function getRegistrationTypeIds() {
150150
return array_map(function ($element) {
151-
return $element['target_id'];
151+
return isset($element['target_id']) ? $element['target_id'] : [];
152152
}, $this->getEvent()->{EventManagerInterface::FIELD_REGISTRATION_TYPE}->getValue());
153153
}
154154

0 commit comments

Comments
 (0)