undefined sub-part
This commit is contained in:
@@ -9,6 +9,7 @@ $Source$
|
|||||||
* lang/portuguese update, thanks to Lopo Pizarro
|
* lang/portuguese update, thanks to Lopo Pizarro
|
||||||
* lang/catalan update, thanks to Xavier Navarro
|
* lang/catalan update, thanks to Xavier Navarro
|
||||||
* lang/ukrainian update, thanks to Markijan Baran
|
* lang/ukrainian update, thanks to Markijan Baran
|
||||||
|
* ldi_check.php3: undefined $sub_part
|
||||||
|
|
||||||
2002-08-01 Robin Johnson <robbat2@users.sourceforge.net>
|
2002-08-01 Robin Johnson <robbat2@users.sourceforge.net>
|
||||||
* scripts/decode_bug.php3:
|
* scripts/decode_bug.php3:
|
||||||
|
@@ -29,6 +29,8 @@ if (isset($btnLDI) && ($textfile != 'none')) {
|
|||||||
$replace = '';
|
$replace = '';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
error_reporting(E_ALL);
|
||||||
|
chmod($textfile, 0644);
|
||||||
// Kanji encoding convert appended by Y.Kawada
|
// Kanji encoding convert appended by Y.Kawada
|
||||||
if (function_exists('PMA_kanji_file_conv')) {
|
if (function_exists('PMA_kanji_file_conv')) {
|
||||||
$textfile = PMA_kanji_file_conv($textfile, $knjenc, isset($xkana) ? $xkana : '');
|
$textfile = PMA_kanji_file_conv($textfile, $knjenc, isset($xkana) ? $xkana : '');
|
||||||
@@ -91,6 +93,13 @@ if (isset($btnLDI) && ($textfile != 'none')) {
|
|||||||
} else {
|
} else {
|
||||||
$sql_query = $query;
|
$sql_query = $query;
|
||||||
}
|
}
|
||||||
|
// Set an empty sub_part to avoid an undefined variable.
|
||||||
|
// We could also rename the ldi* scripts
|
||||||
|
// to tbl_properties_ldi* to improve consistency with the other sub-pages.
|
||||||
|
//
|
||||||
|
// The $goto in ldi_table.php3 is set to tbl_properties.php3 but maybe
|
||||||
|
// if would be better to Browse the latest inserted data.
|
||||||
|
$sub_part='';
|
||||||
include('./sql.php3');
|
include('./sql.php3');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user