Loading src/Plugin/Condition/RouteCondition.php +1 −1 Original line number Diff line number Diff line Loading @@ -109,7 +109,7 @@ class RouteCondition extends ConditionPluginBase implements ConditionInterface, // Convert routes to lowercase. $routes = mb_strtolower($this->configuration['routes']); $routes = str_replace(["\r\n", "\r"], "\n", $routes); $routes = explode("\n", $routes); $routes = array_filter(explode("\n", $routes)); if (!$routes) { return TRUE; } Loading Loading
src/Plugin/Condition/RouteCondition.php +1 −1 Original line number Diff line number Diff line Loading @@ -109,7 +109,7 @@ class RouteCondition extends ConditionPluginBase implements ConditionInterface, // Convert routes to lowercase. $routes = mb_strtolower($this->configuration['routes']); $routes = str_replace(["\r\n", "\r"], "\n", $routes); $routes = explode("\n", $routes); $routes = array_filter(explode("\n", $routes)); if (!$routes) { return TRUE; } Loading