Changed continue to break

This commit is contained in:
laf
2016-02-09 19:04:05 +00:00
parent fe3d1c7c1a
commit 6e71661a3a

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