diff options
author | Atul Pratap Singh <atulpratapsingh05@gmail.com> | 2012-06-27 06:52:41 +0400 |
---|---|---|
committer | Atul Pratap Singh <atulpratapsingh05@gmail.com> | 2012-06-27 06:52:41 +0400 |
commit | 2c4a14a8f820353912591572b7f933f080c18d63 (patch) | |
tree | be65aecf2c85d01f10d16c55710f0a4be87a2120 /db_search.php | |
parent | e23ba53da008f6af60b5548925ce13ab04e449d5 (diff) |
Fix broken delete feature in database search
Diffstat (limited to 'db_search.php')
-rw-r--r-- | db_search.php | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/db_search.php b/db_search.php index 727bef47af..0c91075e4e 100644 --- a/db_search.php +++ b/db_search.php @@ -254,12 +254,6 @@ function PMA_dbSearchGetWhereClause($table, $search_words, $search_option, $fiel function PMA_dbSearchGetSearchResults($tables_selected, $searched, $option_str, $search_str, $search_option, $field_str = null ) { - $this_url_params = array( - 'db' => $GLOBALS['db'], - 'goto' => 'db_sql.php', - 'pos' => 0, - 'is_js_confirmed' => 0, - ); $html_output = ''; // Displays search string $html_output .= '<br />' @@ -317,6 +311,12 @@ function PMA_dbSearchGetSearchResults($tables_selected, $searched, $option_str, */ function PMA_dbSearchGetResultsRow($each_table, $newsearchsqls, $odd_row) { + $this_url_params = array( + 'db' => $GLOBALS['db'], + 'goto' => 'db_sql.php', + 'pos' => 0, + 'is_js_confirmed' => 0, + ); $res_cnt = PMA_DBI_fetch_value($newsearchsqls['select_count']); // Start forming search results row $html_output = '<tr class="noclick ' . ($odd_row ? 'odd' : 'even') . '">'; |