From 080690a8385edc018c2efaa3b6365569543d8777 Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Fri, 8 Feb 2013 10:37:42 -0500 Subject: [PATCH] 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. --- libraries/DbSearch.class.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libraries/DbSearch.class.php b/libraries/DbSearch.class.php index cd008ba0a9..9ffd1d802b 100644 --- a/libraries/DbSearch.class.php +++ b/libraries/DbSearch.class.php @@ -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,