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.
|
||||
* libraries/display_tbl.lib.php3: $cfg['LimitChars'] now limits all fields
|
||||
(RFE #742123).
|
||||
* pdf_pages.php3: Fixed undefined index warning.
|
||||
|
||||
2003-06-05 Marc Delisle <lem9@users.sourceforge.net>
|
||||
* Documentation.html: new faq 6.20 about CREATE TEMPORARY TABLES
|
||||
|
@@ -221,11 +221,11 @@ if ($cfgRelation['pdfwork']) {
|
||||
} // end if (isset($do))
|
||||
|
||||
// We will need an array of all tables in this db
|
||||
$selectboxall[] = '--';
|
||||
$selectboxall = array('--');
|
||||
$alltab_qry = 'SHOW TABLES FROM ' . PMA_backquote($db);
|
||||
$alltab_rs = @PMA_mysql_query($alltab_qry) or PMA_mysqlDie('', $alltab_qry, '', $err_url_0);
|
||||
while (list($table) = @PMA_mysql_fetch_array($alltab_rs)) {
|
||||
$selectboxall[] = $table;
|
||||
while ($val = @PMA_mysql_fetch_array($alltab_rs)) {
|
||||
$selectboxall[] = $table[0];
|
||||
}
|
||||
|
||||
|
||||
@@ -440,4 +440,4 @@ if ($cfgRelation['pdfwork']) {
|
||||
*/
|
||||
echo "\n";
|
||||
require('./footer.inc.php3');
|
||||
?>
|
||||
?>
|
||||
|
Reference in New Issue
Block a user