From 96c75c6d5076441505ef11cdfb91d8bf0ffaee97 Mon Sep 17 00:00:00 2001 From: Mike Naberezny Date: Mon, 9 Feb 2009 18:41:06 -0800 Subject: [PATCH] Fix comparison. --- framework/Routes/lib/Horde/Routes/Route.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/Routes/lib/Horde/Routes/Route.php b/framework/Routes/lib/Horde/Routes/Route.php index 4b5437887..1e9b3cc68 100644 --- a/framework/Routes/lib/Horde/Routes/Route.php +++ b/framework/Routes/lib/Horde/Routes/Route.php @@ -619,7 +619,7 @@ class Horde_Routes_Route $host = substr($host, 0, strpos(':', $host)); $subMatch = '@^(.+?)\.' . $kargs['domainMatch'] . '$'; $subdomain = preg_replace($subMatch, '$1', $host); - if (!in_array($subdomain, $kargs['subDomainsIgnore'] && $host != $subdomain)) { + if (!in_array($subdomain, $kargs['subDomainsIgnore']) && $host != $subdomain) { $subDomain = $subdomain; } } -- 2.11.0