Fixed undefined index warning.
This commit is contained in:
@@ -12,6 +12,7 @@ $Source$
|
|||||||
* tbl_query_box.php3: Don't add target if not in query window.
|
* tbl_query_box.php3: Don't add target if not in query window.
|
||||||
* libraries/display_tbl.lib.php3: $cfg['LimitChars'] now limits all fields
|
* libraries/display_tbl.lib.php3: $cfg['LimitChars'] now limits all fields
|
||||||
(RFE #742123).
|
(RFE #742123).
|
||||||
|
* pdf_pages.php3: Fixed undefined index warning.
|
||||||
|
|
||||||
2003-06-05 Marc Delisle <lem9@users.sourceforge.net>
|
2003-06-05 Marc Delisle <lem9@users.sourceforge.net>
|
||||||
* Documentation.html: new faq 6.20 about CREATE TEMPORARY TABLES
|
* Documentation.html: new faq 6.20 about CREATE TEMPORARY TABLES
|
||||||
|
@@ -221,11 +221,11 @@ if ($cfgRelation['pdfwork']) {
|
|||||||
} // end if (isset($do))
|
} // end if (isset($do))
|
||||||
|
|
||||||
// We will need an array of all tables in this db
|
// We will need an array of all tables in this db
|
||||||
$selectboxall[] = '--';
|
$selectboxall = array('--');
|
||||||
$alltab_qry = 'SHOW TABLES FROM ' . PMA_backquote($db);
|
$alltab_qry = 'SHOW TABLES FROM ' . PMA_backquote($db);
|
||||||
$alltab_rs = @PMA_mysql_query($alltab_qry) or PMA_mysqlDie('', $alltab_qry, '', $err_url_0);
|
$alltab_rs = @PMA_mysql_query($alltab_qry) or PMA_mysqlDie('', $alltab_qry, '', $err_url_0);
|
||||||
while (list($table) = @PMA_mysql_fetch_array($alltab_rs)) {
|
while ($val = @PMA_mysql_fetch_array($alltab_rs)) {
|
||||||
$selectboxall[] = $table;
|
$selectboxall[] = $table[0];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user