Merge pull request #2971 from laf/continue-fix

Changed continue to break
This commit is contained in:
Daniel Preussker
2016-02-09 19:13:56 +00:00

View File

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