mirror of
https://github.com/osm-search/Nominatim.git
synced 2024-12-25 22:12:45 +03:00
case statement need : instead of ;. Added more breaks
This commit is contained in:
parent
775fdeb8e4
commit
51155b639b
@ -389,15 +389,16 @@ if (isset($aCMDResult['link'])) {
|
||||
break;
|
||||
case 'prefecture japan':
|
||||
$aRecord['name'] = trim(str_replace(' Prefecture', ' ', $aRecord['name']));
|
||||
break;
|
||||
case 'state':
|
||||
case '#us state':
|
||||
case 'county':
|
||||
case 'u.s. state':
|
||||
case 'u.s. state symbols':
|
||||
case 'german state':
|
||||
case 'province or territory of canada';
|
||||
case 'indian jurisdiction';
|
||||
case 'province';
|
||||
case 'province or territory of canada':
|
||||
case 'indian jurisdiction':
|
||||
case 'province':
|
||||
case 'french region':
|
||||
case 'region of italy':
|
||||
case 'kommune':
|
||||
@ -415,6 +416,7 @@ if (isset($aCMDResult['link'])) {
|
||||
break;
|
||||
case 'settlement':
|
||||
$bUnknown = true;
|
||||
break;
|
||||
case 'french commune':
|
||||
case 'italian comune':
|
||||
case 'uk place':
|
||||
@ -442,7 +444,7 @@ if (isset($aCMDResult['link'])) {
|
||||
case 'airport':
|
||||
$fMaxDist = 0.2;
|
||||
$sURL .= "&viewbox=".($aRecord['lon']-0.5).",".($aRecord['lat']+0.5).",".($aRecord['lon']+0.5).",".($aRecord['lat']-0.5);
|
||||
|
||||
break;
|
||||
case 'ship begin':
|
||||
$fMaxDist = 0.1;
|
||||
$aTypes = array('wreck');
|
||||
|
Loading…
Reference in New Issue
Block a user