Loading src/Plugin/Condition/RequestParameter.php +12 −5 Original line number Diff line number Diff line Loading @@ -88,6 +88,7 @@ class RequestParameter extends ConditionPluginBase implements ContainerFactoryPl 'ends_with' => $this->t('Ends with'), 'contains' => $this->t('Contains'), 'exists' => $this->t('Exists'), 'not_exists' => $this->t('Does not exist'), ], ]; Loading Loading @@ -186,6 +187,12 @@ class RequestParameter extends ConditionPluginBase implements ContainerFactoryPl $pass = TRUE; } break; case 'not_exists': if (empty($param_value)) { $pass = TRUE; } break; } if ($this->isNegated()) { Loading Loading
src/Plugin/Condition/RequestParameter.php +12 −5 Original line number Diff line number Diff line Loading @@ -88,6 +88,7 @@ class RequestParameter extends ConditionPluginBase implements ContainerFactoryPl 'ends_with' => $this->t('Ends with'), 'contains' => $this->t('Contains'), 'exists' => $this->t('Exists'), 'not_exists' => $this->t('Does not exist'), ], ]; Loading Loading @@ -186,6 +187,12 @@ class RequestParameter extends ConditionPluginBase implements ContainerFactoryPl $pass = TRUE; } break; case 'not_exists': if (empty($param_value)) { $pass = TRUE; } break; } if ($this->isNegated()) { Loading