CreateMembershipForm: Fix `Variable '$groupName' is probably undefined`

This commit is contained in:
Sukhwinder Dhillon 2023-08-15 15:24:42 +02:00 committed by raviks789
parent e0f02c1d62
commit 0198054943
1 changed files with 1 additions and 0 deletions

View File

@ -113,6 +113,7 @@ class CreateMembershipForm extends Form
}
$single = null;
$groupName = null;
foreach ($this->getValue('groups') as $backendAndGroup) {
list($backendName, $groupName) = explode(';', $backendAndGroup, 2);
try {