diff --git a/modules/apigee_edge_teams/src/EventSubscriber/ValidateApigeeXTeamEnabledSubscriber.php b/modules/apigee_edge_teams/src/EventSubscriber/ValidateApigeeXTeamEnabledSubscriber.php index a86346d9..6c26b9ee 100644 --- a/modules/apigee_edge_teams/src/EventSubscriber/ValidateApigeeXTeamEnabledSubscriber.php +++ b/modules/apigee_edge_teams/src/EventSubscriber/ValidateApigeeXTeamEnabledSubscriber.php @@ -76,7 +76,7 @@ public function __construct(SDKConnectorInterface $sdk_connector, OrganizationCo */ public function validateApigeexTeamEnabled(RequestEvent $event) { /** @var \Symfony\Component\Routing\Route $current_route */ - if (($current_route = $event->getRequest()->get('_route')) && (strpos($current_route, 'team') !== false)) { + if (($current_route = $event->getRequest()->get('_route')) && (strpos($current_route, 'team') !== FALSE)) { $organization = $this->orgController->load($this->connector->getOrganization()); if ($organization && $this->orgController->isOrganizationApigeeX()) { if ($organization->getAddonsConfig() || TRUE === $organization->getAddonsConfig()->getMonetizationConfig()->getEnabled()) {