diff --git a/Config/module.xml b/Config/module.xml
index 580dd70..91cb95a 100755
--- a/Config/module.xml
+++ b/Config/module.xml
@@ -7,7 +7,7 @@
Gérer la réécriture d'url
- 2.1.5
+ 2.1.6
Vincent Lopes, Gilles Bourgeat, Tom Pradat
vlopes@openstudio.fr, gbourgeat@openstudio.fr, tpradat@openstudio.fr
diff --git a/Model/RewriteurlRule.php b/Model/RewriteurlRule.php
index 696dc05..784a1ac 100644
--- a/Model/RewriteurlRule.php
+++ b/Model/RewriteurlRule.php
@@ -47,7 +47,7 @@ protected function isMatchingPath(string $url): bool
{
if (!empty($this->getValue())) {
try {
- $match = @preg_match('/'.$this->getValue().'/', $url) === 1;
+ $match = @preg_match('/'.$this->getValue().'/', $url);
if (false === $match) {
Tlog::getInstance()->error('Invalid pattern: '.$this->getValue());