bug 815822
This commit is contained in:
@@ -8,6 +8,7 @@ $Source$
|
||||
2003-10-01 Marc Delisle <lem9@users.sourceforge.net>
|
||||
* lang/slovenian update, thanks to Kositer Uros
|
||||
* lang/norwegian: Updated, thanks to Sven-Erik Andersen (sven-erik).
|
||||
* libraries/export/sql.php3: bug 815822 Undefined index/offset
|
||||
|
||||
2003-10-01 Alexander M. Turek <rabus@users.sourceforge.net>
|
||||
* translators.html: Better link.
|
||||
|
@@ -443,8 +443,11 @@ function PMA_getTableContentFast($db, $table, $crlf, $error_url, $sql_query)
|
||||
// Checks whether the field is an integer or not
|
||||
for ($j = 0; $j < $fields_cnt; $j++) {
|
||||
|
||||
//$field_set[$j] = PMA_backquote(PMA_mysql_field_name($result, $j), $use_backquotes);
|
||||
$field_set[$j] = PMA_backquote($analyzed_sql[0]['select_expr'][$j]['column'], $use_backquotes);
|
||||
if (isset($analyzed_sql[0]['select_expr'][$j]['column'])) {
|
||||
$field_set[$j] = PMA_backquote($analyzed_sql[0]['select_expr'][$j]['column'], $use_backquotes);
|
||||
} else {
|
||||
$field_set[$j] = PMA_backquote(PMA_mysql_field_name($result, $j), $use_backquotes);
|
||||
}
|
||||
|
||||
$type = $field_types[$field_set[$j]];
|
||||
|
||||
|
Reference in New Issue
Block a user