From 6e71661a3a4e8940c3a80caeb73d5fd68b62d981 Mon Sep 17 00:00:00 2001 From: laf Date: Tue, 9 Feb 2016 19:04:05 +0000 Subject: [PATCH] Changed continue to break --- includes/rewrites.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/rewrites.php b/includes/rewrites.php index b4b28cd631..da0623f116 100644 --- a/includes/rewrites.php +++ b/includes/rewrites.php @@ -9,7 +9,7 @@ function rewrite_location($location) { foreach ($config['location_map_regex'] as $reg => $val) { if (preg_match($reg, $location)) { $location = $val; - continue; + break; } } }