From ed886b1259b27377c9129f076f8cf0058f9dc895 Mon Sep 17 00:00:00 2001 From: Piotr Przybylski Date: Thu, 23 Oct 2008 11:09:33 +0000 Subject: [PATCH] Setup script: fixed language strings on form error page --- setup/lib/FormDisplay.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup/lib/FormDisplay.class.php b/setup/lib/FormDisplay.class.php index 12b1dd649..120271b63 100644 --- a/setup/lib/FormDisplay.class.php +++ b/setup/lib/FormDisplay.class.php @@ -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); }