No warning if no db defined.
This commit is contained in:
@@ -10,6 +10,7 @@ $Source$
|
||||
* libraries/common.lib.php: Group databases by rightmost separator (bug
|
||||
#1325651).
|
||||
* libraries/string.lib.php: Fix escaping detection on multi byte strings.
|
||||
* libraries/sql_query_form.lib.php: No warning if no db defined.
|
||||
|
||||
2005-10-17 Sebastian Mendel <cybot_tm@users.sourceforge.net>
|
||||
* css/phpmyadmin.css.php: border around tabs bug #1326730
|
||||
|
@@ -376,8 +376,7 @@ function PMA_sqlQueryFormInsert( $query = '', $is_querywindow = false ) {
|
||||
* @uses htmlspecialchars()
|
||||
*/
|
||||
function PMA_sqlQueryFormBookmark() {
|
||||
$bookmark_list = PMA_listBookmarks(
|
||||
$GLOBALS['db'], $GLOBALS['cfg']['Bookmark'] );
|
||||
$bookmark_list = PMA_listBookmarks(isset($GLOBALS['db']) ? $GLOBALS['db'] : '', $GLOBALS['cfg']['Bookmark'] );
|
||||
if ( ! $bookmark_list || count( $bookmark_list ) < 1 ) {
|
||||
return;
|
||||
}
|
||||
|
Reference in New Issue
Block a user