dont display bookmark selection fieldset if no bookmark exists
This commit is contained in:
@@ -6,7 +6,8 @@ $Id$
|
|||||||
$Source$
|
$Source$
|
||||||
|
|
||||||
2005-09-27 Sebastian Mendel <cybot_tm@users.sourceforge.net>
|
2005-09-27 Sebastian Mendel <cybot_tm@users.sourceforge.net>
|
||||||
* libraries/sql_query_form.lib.php: removed unneeded variable
|
* libraries/sql_query_form.lib.php: removed unneeded variable,
|
||||||
|
dont display bookmark selection fieldset if no bookmark exists
|
||||||
|
|
||||||
2005-09-27 Sebastian Mendel <cybot_tm@users.sourceforge.net>
|
2005-09-27 Sebastian Mendel <cybot_tm@users.sourceforge.net>
|
||||||
* libraries/sql_query_form.lib.php, db_details.php, server_sql.php
|
* libraries/sql_query_form.lib.php, db_details.php, server_sql.php
|
||||||
|
@@ -374,7 +374,7 @@ function PMA_sqlQueryFormInsert( $query = '', $is_querywindow = false ) {
|
|||||||
function PMA_sqlQueryFormBookmark() {
|
function PMA_sqlQueryFormBookmark() {
|
||||||
$bookmark_list = PMA_listBookmarks(
|
$bookmark_list = PMA_listBookmarks(
|
||||||
$GLOBALS['db'], $GLOBALS['cfg']['Bookmark'] );
|
$GLOBALS['db'], $GLOBALS['cfg']['Bookmark'] );
|
||||||
if ( count( $bookmark_list ) < 1 ) {
|
if ( ! $bookmark_list || count( $bookmark_list ) < 1 ) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user