bookmarks bug

This commit is contained in:
Marc Delisle
2002-03-28 21:30:21 +00:00
parent f6d4cb4f1f
commit 75618b4892
2 changed files with 4 additions and 3 deletions

View File

@@ -5,6 +5,9 @@ phpMyAdmin - Changelog
$Id$
$Source$
2002-03-28 Marc Delisle <lem9@users.sourceforge.net>
* sql.php3, bug #535648: bookmarks can't be saved on the second server
2002-03-27 Marc Delisle <lem9@users.sourceforge.net>
* libraries/display_tbl.lib.php3, changed a variable name for
better doc.

View File

@@ -1,14 +1,11 @@
<?php
/* $Id$ */
/**
* Gets some core libraries
*/
require('./libraries/grab_globals.lib.php3');
require('./libraries/common.lib.php3');
/**
* Defines the url to return to in case of error in a sql statement
*/
@@ -454,6 +451,7 @@ else {
<br /><br />
<?php echo $strBookmarkLabel; ?>&nbsp;:
<input type="hidden" name="goto" value="<?php echo $goto; ?>" />
<input type="hidden" name="server" value="<?php echo $server; ?>" />
<input type="hidden" name="fields[dbase]" value="<?php echo $db; ?>" />
<input type="hidden" name="fields[user]" value="<?php echo $cfgBookmark['user']; ?>" />
<input type="hidden" name="fields[query]" value="<?php echo urlencode($sql_query); ?>" />