thorsten/phpMyFAQ — Issue #341: Invalid HTML in language switcher
Author: tipichris
Created: 2011-11-08 16:24:44+00:00
State: open

The form and fieldset elements overlap. Here's a patch:

```
--- artikel.php.orig 2011-11-06 10:18:40.000000000 +0000
+++ artikel.php 2011-11-06 10:18:58.000000000 +0000
@@ -146,8 +146,8 @@
$check4Lang .= ($lang == $language ? ' selected="selected"' : '');
$check4Lang .= ">".$languageCodes[strtoupper($language)]."
\n";
}
- $switchLanguage .= "

\n";
$switchLanguage .= "

\n";
+ $switchLanguage .= "

\n";
$switchLanguage .= "\n";
$switchLanguage .= $check4Lang;
$switchLanguage .= "\n";
```