undefined variable table
This commit is contained in:
@@ -5,6 +5,9 @@ phpMyAdmin - ChangeLog
|
||||
$Id$
|
||||
$Source$
|
||||
|
||||
2006-07-02 Marc Delisle <lem9@users.sourceforge.net>
|
||||
* db_operations.php: undefined $table when copying a db
|
||||
|
||||
2006-06-30 Marc Delisle <lem9@users.sourceforge.net>
|
||||
* libraries/common.lib.php: escape also single quotes
|
||||
### 2.8.2 released from QA_2_8
|
||||
|
@@ -295,7 +295,7 @@ if (!$is_information_schema) {
|
||||
// MySQL supports setting default charsets / collations for databases since
|
||||
// version 4.1.1.
|
||||
echo '<form method="post" action="./db_operations.php">' . "\n"
|
||||
. PMA_generate_common_hidden_inputs($db, $table)
|
||||
. PMA_generate_common_hidden_inputs($db, isset($table) ? $table : '')
|
||||
. '<fieldset>' . "\n"
|
||||
. ' <legend>';
|
||||
if ($cfg['PropertiesIconic']) {
|
||||
@@ -324,8 +324,10 @@ if (!$is_information_schema) {
|
||||
|
||||
|
||||
// not sure about leaving the PDF dialog for information_schema
|
||||
if ($num_tables > 0) {
|
||||
if ($num_tables > 0 && isset($table)) {
|
||||
$takeaway = $url_query . '&table=' . urlencode($table);
|
||||
} else {
|
||||
$takeaway = '';
|
||||
}
|
||||
|
||||
if ($cfgRelation['pdfwork'] && $num_tables > 0) { ?>
|
||||
|
Reference in New Issue
Block a user