We need bookmark code to be included everytime.

This commit is contained in:
Michal Čihař
2005-10-13 17:25:15 +00:00
parent 07b5c799cf
commit 1819599e53
2 changed files with 2 additions and 1 deletions

View File

@@ -21,6 +21,7 @@ $Source$
by writing through JavaScript.
* libraries/get_foreign.lib.php: Free temporary query result.
* lang/czech: Improve some translations.
* sql.php: We need bookmark code to be included everytime.
2005-10-13 Sebastian Mendel <cybot_tm@users.sourceforge.net>
* left.php: preselect db if only one db

View File

@@ -9,6 +9,7 @@ require_once('./libraries/grab_globals.lib.php');
require_once('./libraries/common.lib.php');
require_once('./libraries/tbl_indexes.lib.php');
require_once('./libraries/check_user_privileges.lib.php');
require_once('./libraries/bookmark.lib.php');
/**
* Defines the url to return to in case of error in a sql statement
@@ -78,7 +79,6 @@ if (isset($find_real_end) && $find_real_end) {
* Bookmark add
*/
if (isset($store_bkm)) {
require_once('./libraries/bookmark.lib.php');
PMA_addBookmarks($fields, $cfg['Bookmark'], (isset($bkm_all_users) && $bkm_all_users == 'true' ? true : false));
PMA_sendHeaderLocation($cfg['PmaAbsoluteUri'] . $goto);
} // end if