r4040 bugfix for recent change: vlan case-sensitive searching
authorAlexey Andriyanov <alan@al-an.info>
Fri, 3 Dec 2010 15:53:06 +0000 (15:53 +0000)
committerAlexey Andriyanov <alan@al-an.info>
Fri, 3 Dec 2010 15:53:06 +0000 (15:53 +0000)
Changed:
inc/interface.php, renderSearchResults

inc/interface.php

index 2fc0b2f..2e64a0c 100644 (file)
@@ -3670,7 +3670,7 @@ function renderSearchResults ()
                        $summary['ipv6network'][] = spotEntity ('ipv6net', $tmp);
                }
        }
-       elseif (preg_match ('@^vlan\s*(\d+)$@', $terms, $matches))
+       elseif (preg_match ('/^vlan\s*(\d+)$/i', $terms, $matches))
        {
                $tmp = getVLANSearchResult ($terms);
                if (count ($tmp))