was showing the bookmark id instead of label
This commit is contained in:
@@ -58,7 +58,7 @@ function PMA_Bookmark_getParams()
|
|||||||
*
|
*
|
||||||
* @param string the current database name
|
* @param string the current database name
|
||||||
*
|
*
|
||||||
* @return array the bookmarks list
|
* @return array the bookmarks list (key as index, label as value)
|
||||||
*
|
*
|
||||||
* @access public
|
* @access public
|
||||||
*/
|
*/
|
||||||
@@ -77,7 +77,7 @@ function PMA_Bookmark_getList($db)
|
|||||||
. ' AND (user = \'' . PMA_sqlAddslashes($cfgBookmark['user']) . '\''
|
. ' AND (user = \'' . PMA_sqlAddslashes($cfgBookmark['user']) . '\''
|
||||||
. ' OR user = \'\')'
|
. ' OR user = \'\')'
|
||||||
. ' ORDER BY label';
|
. ' ORDER BY label';
|
||||||
return PMA_DBI_fetch_result($query, 'label', 'id', $controllink, PMA_DBI_QUERY_STORE);
|
return PMA_DBI_fetch_result($query, 'id', 'label', $controllink, PMA_DBI_QUERY_STORE);
|
||||||
} // end of the 'PMA_Bookmark_getList()' function
|
} // end of the 'PMA_Bookmark_getList()' function
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user