fix explicit manager bug

bug would make script apply anyway, even if no manager is found
This commit is contained in:
MaxBUhe 2023-05-31 14:29:46 +02:00
parent 13132e6da0
commit 106fea9c91

View File

@ -48,6 +48,6 @@ class ManagerHandler
$oManagerTypes = oxNew(ManagerTypes::class); $oManagerTypes = oxNew(ManagerTypes::class);
return $oManagerTypes->isManagerInList($sPotentialManagerName) return $oManagerTypes->isManagerInList($sPotentialManagerName)
? $sPotentialManagerName ? $sPotentialManagerName
: ManagerTypes::EXTERNAL_SERVICE; : "NONE";
} }
} }