diff --git a/plugins/system/redirect/redirect.php b/plugins/system/redirect/redirect.php index 7a7a99d047cae..bbbf70a738a9b 100644 --- a/plugins/system/redirect/redirect.php +++ b/plugins/system/redirect/redirect.php @@ -169,7 +169,7 @@ private static function doErrorHandling($error) } else { - if (StringHelper::strpos($orgurlRel, $exclude->term)) + if (StringHelper::strpos($orgurlRel, $exclude->term) !== false) { $skipUrl = true; break;