]> git.openstreetmap.org Git - nominatim.git/blobdiff - utils/specialphrases.php
case statement need : instead of ;. Added more breaks
[nominatim.git] / utils / specialphrases.php
index da06edc3e3cb27dbd07158ecb3513c0f4596e4aa..652230fc7dd239f39033aca3126a352b31a0c713 100755 (executable)
@@ -46,8 +46,9 @@ if ($aCMDResult['wiki-import']) {
                 # quotes into the wiki
                 $sType = preg_replace('/"/', '', $sType);
                 # sanity check, in case somebody added garbage in the wiki
-                if (preg_match('/^\\w+$/', $sClass) < 1 ||
-                    preg_match('/^\\w+$/', $sType) < 1) {
+                if (preg_match('/^\\w+$/', $sClass) < 1
+                    || preg_match('/^\\w+$/', $sType) < 1
+                ) {
                     trigger_error("Bad class/type for language $sLanguage: $sClass=$sType");
                     exit;
                 }