mirror of
https://github.com/e107inc/e107.git
synced 2025-08-10 16:46:50 +02:00
Code cleanup
This commit is contained in:
@@ -622,6 +622,7 @@ class import_main_ui extends e_admin_ui
|
||||
{
|
||||
|
||||
$mes = e107::getMessage();
|
||||
$tp = e107::getParser();
|
||||
|
||||
$mes->addDebug("dbImport(): Loading: ".$this->importClass);
|
||||
|
||||
@@ -654,7 +655,7 @@ class import_main_ui extends e_admin_ui
|
||||
return false;
|
||||
}
|
||||
|
||||
$result = $converter->db_Connect($_POST['dbParamHost'], $_POST['dbParamUsername'], $_POST['dbParamPassword'], $_POST['dbParamDatabase'], $_POST['dbParamPrefix']);
|
||||
$result = $converter->db_Connect($tp->filter($_POST['dbParamHost']), $tp->filter($_POST['dbParamUsername']), $tp->filter($_POST['dbParamPassword']), $tp->filter($_POST['dbParamDatabase']), $tp->filter($_POST['dbParamPrefix']));
|
||||
if ($result !== TRUE)
|
||||
{
|
||||
$mes->addError(LAN_CONVERT_43.": ".$result); // db connect failed
|
||||
|
Reference in New Issue
Block a user