fixed selecting table/db filename template

This commit is contained in:
Michal Čihař
2003-03-21 12:04:30 +00:00
parent 0fd92594b4
commit 1d73faabe6
2 changed files with 3 additions and 1 deletions

View File

@@ -8,6 +8,8 @@ $Source$
2003-03-21 Michal Cihar <nijel@users.sourceforge.net>
* ldi_check.php3: Use $sql_query instead of $query to put query correctly
to sql.php3.
* libraries/display_export.lib.php3: Again fixed selecting table/db
filename template.
2003-03-20 Marc Delisle <lem9@users.sourceforge.net>
* lang/hebrew update, thanks to Yuval Sarna

View File

@@ -224,7 +224,7 @@ if (isset($table) && !empty($table) && !isset($num_tables)) {
<input type="text" name="filename_template"
<?php
echo ' value="';
if (isset($multi_tables) && $multi_tables != '') {
if ((isset($multi_tables) && $multi_tables != '') || (!isset($table))) {
if (isset($_COOKIE) && !empty($_COOKIE['pma_db_filename_template'])) {
echo $_COOKIE['pma_db_filename_template'];
} elseif (isset($HTTP_COOKIE_VARS) && !empty($HTTP_COOKIE_VARS['pma_db_filename_template'])) {