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; } } }