mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Changed continue to break
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user