Setup script: fixed language strings on form error page

This commit is contained in:
Piotr Przybylski
2008-10-23 11:09:33 +00:00
parent 2bbcbe9459
commit ed886b1259

View File

@@ -346,9 +346,9 @@ class FormDisplay
foreach ($this->errors as $system_path => $error_list) {
if (isset($this->system_paths[$system_path])) {
$path = $this->system_paths[$system_path];
$name = PMA_lang_name($system_path);
$name = PMA_lang_name($path);
} else {
$name = $GLOBALS["strstrSetupForm_$path"];
$name = $GLOBALS["strSetupForm_$system_path"];
}
display_errors($name, $error_list);
}