changeset 2440:cba2376dcb39

Fix duping of location letters due to upper/lower getting separated.
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 12 May 2022 12:29:56 +0300
parents 61c2e037646a
children dcdbcb8521ed
files www/loc.php
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/www/loc.php	Thu May 12 12:29:24 2022 +0300
+++ b/www/loc.php	Thu May 12 12:29:56 2022 +0300
@@ -155,7 +155,7 @@
 foreach ($locTable as $id => $data)
 if (isset($data["name"]))
 {
-  $idx = $data["name"][0];
+  $idx = strtolower($data["name"][0]);
   if (isset($coderName))
   {
     foreach ($data["coders"] as $coder)