diff --git a/src/Plugin/Condition/RequestPathInclexcl.php b/src/Plugin/Condition/RequestPathInclexcl.php index 6dee00009842576508fac8e73a981746354acdca..e56f766f55f34d586c827aa1d19520eb30c281c7 100644 --- a/src/Plugin/Condition/RequestPathInclexcl.php +++ b/src/Plugin/Condition/RequestPathInclexcl.php @@ -87,6 +87,10 @@ class RequestPathInclexcl extends RequestPath { * {@inheritdoc} */ public function evaluate(): bool { + if (!isset($this->configuration['pages']) || NULL === $this->configuration['pages']) { + return TRUE; + } + // Convert path to lowercase. This allows comparison of the same path // with different case. Ex: /Page, /page, /PAGE. $pages = mb_strtolower($this->configuration['pages']);