Fix a bug: when doing a db search, then clicking on Browse on a result

row, the query generated for (at least) the Delete link was missing the
table name.
This commit is contained in:
Marc Delisle 2013-02-08 10:37:42 -05:00
parent cee0ad4b90
commit 080690a838

View File

@ -306,7 +306,7 @@ class PMA_DbSearch
* Provides search results row with browse/delete links.
* (for a table)
*
* @param string $each_table Tables on which search is to be performed
* @param string $each_table One of the tables on which search was performed
* @param array $newsearchsqls Contains SQL queries
* @param bool $odd_row For displaying contrasting table rows
* @param integer $res_cnt Number of results found
@ -317,6 +317,7 @@ class PMA_DbSearch
{
$this_url_params = array(
'db' => $GLOBALS['db'],
'table' => $each_table,
'goto' => 'db_sql.php',
'pos' => 0,
'is_js_confirmed' => 0,