diff --git a/ldi_check.php3 b/ldi_check.php3 index 97c2c9682..30dc24e7c 100755 --- a/ldi_check.php3 +++ b/ldi_check.php3 @@ -31,7 +31,7 @@ if (isset($btnLDI) && ($textfile != 'none')) { // Kanji encoding convert appended by Y.Kawada if (function_exists('PMA_kanji_file_conv')) { - $textfile = PMA_kanji_file_conv($textfile, $knjenc, $xkana); + $textfile = PMA_kanji_file_conv($textfile, $knjenc, isset($xkana) ? $xkana : ''); } // Formats the data posted to this script $textfile = PMA_sqlAddslashes($textfile); diff --git a/ldi_table.php3 b/ldi_table.php3 index 8454f8ad5..bf00ab582 100755 --- a/ldi_table.php3 +++ b/ldi_table.php3 @@ -66,6 +66,7 @@ if (function_exists('PMA_set_enc_form')) { . PMA_set_enc_form(' ') . ' ' . "\n" . ' ' . "\n"; +} // end if ?>