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

View File

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