Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Mendel <cybot_tm@users.sourceforge.net>2007-05-15 15:16:10 +0400
committerSebastian Mendel <cybot_tm@users.sourceforge.net>2007-05-15 15:16:10 +0400
commitfa30ac8c33cc41314de46374fb14b285192fda71 (patch)
treec245ba8ca6afd446902e07901d4843f9d2a30dbf /tbl_row_action.php
parent4b368f8b425dd147c0fca47abce57024c9bc2843 (diff)
store browse state in session per query
Diffstat (limited to 'tbl_row_action.php')
-rw-r--r--tbl_row_action.php14
1 files changed, 1 insertions, 13 deletions
diff --git a/tbl_row_action.php b/tbl_row_action.php
index 577c9c3df0..584121412e 100644
--- a/tbl_row_action.php
+++ b/tbl_row_action.php
@@ -12,13 +12,6 @@ require_once './libraries/common.inc.php';
require_once './libraries/mysql_charsets.lib.php';
/**
- * Avoids undefined variables
- */
-if (!isset($pos)) {
- $pos = 0;
-}
-
-/**
* No rows were selected => show again the query and tell that user.
*/
if ((!isset($rows_to_delete) || !is_array($rows_to_delete)) && !isset($mult_btn)) {
@@ -113,10 +106,9 @@ if (!empty($submit_mult)) {
default:
$action = 'tbl_row_action.php';
$err_url = 'tbl_row_action.php?' . PMA_generate_common_url($db, $table);
- if (!isset($mult_btn)) {
+ if (! isset($mult_btn)) {
$original_sql_query = $sql_query;
$original_url_query = $url_query;
- $original_pos = $pos;
}
require './libraries/mult_submits.inc.php';
$url_query = PMA_generate_common_url($db, $table)
@@ -140,10 +132,6 @@ if (!empty($submit_mult)) {
$url_query = $original_url_query;
}
- if (isset($original_pos)) {
- $pos = $original_pos;
- }
-
// this is because sql.php could call tbl_structure
// which would think it needs to call mult_submits.inc.php:
unset($submit_mult);