UserGroupBackend: Fix `Variable '$backend' is probably undefined`

This commit is contained in:
Sukhwinder Dhillon 2023-08-15 16:39:21 +02:00 committed by raviks789
parent 61b827a43c
commit e3b89184ae
1 changed files with 1 additions and 0 deletions

View File

@ -170,6 +170,7 @@ class UserGroupBackend
$resourceConfig->charset = 'utf8mb4';
}
$backend = null;
$resource = ResourceFactory::createResource($resourceConfig);
switch ($backendType) {
case 'db':