Browse Source

Add missing question mark (GET-URL)

Dennis Neufeld 8 years ago
parent
commit
53d02ded2a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      data/web/index.php

+ 1 - 1
data/web/index.php

@@ -50,7 +50,7 @@ $_SESSION['return_to'] = $_SERVER['REQUEST_URI'];
                   <?php
                   <?php
                   foreach ($AVAILABLE_LANGUAGES as $language):
                   foreach ($AVAILABLE_LANGUAGES as $language):
                   ?>
                   ?>
-                  <li<?= ($_SESSION['mailcow_locale'] == $language) ? ' class="active"' : ''; ?>><a href="<?= http_build_query(array_merge($_GET, array('lang' => $language))) ?>"><span class="lang-xs lang-lbl-full" lang="<?= $language; ?>"></span></a></li>
+                  <li<?= ($_SESSION['mailcow_locale'] == $language) ? ' class="active"' : ''; ?>><a href="?<?= http_build_query(array_merge($_GET, array('lang' => $language))) ?>"><span class="lang-xs lang-lbl-full" lang="<?= $language; ?>"></span></a></li>
                   <?php
                   <?php
                   endforeach;
                   endforeach;
                   ?>
                   ?>