bug #1242805, Show all does not work while browsing foreign values

This commit is contained in:
Marc Delisle
2005-07-22 17:22:31 +00:00
parent 064568ff4a
commit 72502eca64
2 changed files with 7 additions and 5 deletions

View File

@@ -10,6 +10,8 @@ $Source$
in information_schema
* db_operations.php: those operations do not make sense on
information_schema
* browse_foreigners.php: bug #1242805, Show All does not work while
browsing foreign values
2005-07-21 Marc Delisle <lem9@users.sourceforge.net>
* libraries/auth/cookie.auth.lib.php: bug #1240880, XSS on the

View File

@@ -87,7 +87,7 @@ require('./libraries/get_foreign.lib.php');
<form action="browse_foreigners.php" method="post">
<?php echo PMA_generate_common_hidden_inputs($db, $table); ?>
<input type="hidden" name="field" value="<?php echo urlencode($field); ?>" />
<input type="hidden" name="field" value="<?php echo isset($fieldkey) ? $fieldkey : ''; ?>" />
<input type="hidden" name="fieldkey" value="<?php echo isset($fieldkey) ? $fieldkey : ''; ?>" />
<?php
if (isset($pk)) {
$pk_uri = '&amp;pk=' . urlencode($pk);