Reenabled %f substitution.

This commit is contained in:
Michal Čihař
2004-10-04 09:49:16 +00:00
parent 89ecfb83c5
commit ba42fad9b2
2 changed files with 8 additions and 1 deletions

View File

@@ -5,6 +5,9 @@ phpMyAdmin - Changelog
$Id$
$Source$
2004-10-04 Michal Čihař <michal@cihar.com>
* tbl_query_box.php: Reenabled %f substitution.
2004-10-02 Marc Delisle <lem9@users.sourceforge.net>
* tbl_alter.php: field structure changes not applied (CVS version only)
* export.php: bug #1038804, insufficient space to save

View File

@@ -158,7 +158,11 @@ if (!isset($is_inside_querywindow) ||
if (!empty($query_to_display)) {
echo htmlspecialchars($query_to_display);
} elseif (isset($table)) {
echo htmlspecialchars(str_replace('%d', PMA_backquote($db), str_replace('%t', PMA_backquote($table), $cfg['DefaultQueryTable'])));
echo htmlspecialchars(
str_replace('%d', PMA_backquote($db),
str_replace('%t', PMA_backquote($table),
str_replace('%f', implode(', ', PMA_backquote($fields_list)),
$cfg['DefaultQueryTable']))));
} else {
echo htmlspecialchars(str_replace('%d', PMA_backquote($db), $cfg['DefaultQueryDatabase']));
}