diff --git a/src/Plugin/search_api/processor/EmbargoIpRestriction.php b/src/Plugin/search_api/processor/EmbargoIpRestriction.php index 34a171e..fe626e9 100644 --- a/src/Plugin/search_api/processor/EmbargoIpRestriction.php +++ b/src/Plugin/search_api/processor/EmbargoIpRestriction.php @@ -182,7 +182,7 @@ public function preprocessSearchQuery(QueryInterface $query) { $currentUserIpCidr = $this->ipToCidr($currentUserIp); // Add the condition to check if the user's IP - // is in the list using CIDR notation + // is in the list using CIDR notation. $conditions->addCondition('embargo_ip', $currentUserIpCidr); $conditions->addCondition('embargo_ip', NULL); }