Skip to content
Browse files

Remove variables left in 8a0d2d6

  • Loading branch information...
1 parent 5d636a8 commit a812a8919ed5e9d252624d86b70039346aa4df78 @zixtor zixtor committed
Showing with 6 additions and 9 deletions.
  1. +6 −9 tbl_zoom_select.php
View
15 tbl_zoom_select.php
@@ -41,11 +41,8 @@
*/
$post_params = array(
'dataLabel',
- 'criteriaColumnNullFlags',
- 'criteriaColumnNames',
'maxPlotLimit',
- 'zoom_submit',
- 'criteriaColumnOperators'
+ 'zoom_submit'
);
foreach ($post_params as $one_post_param) {
if (isset($_POST[$one_post_param])) {
@@ -182,9 +179,9 @@
* Form for displaying query results
*/
if (isset($zoom_submit)
- && $criteriaColumnNames[0] != 'pma_null'
- && $criteriaColumnNames[1] != 'pma_null'
- && $criteriaColumnNames[0] != $criteriaColumnNames[1]
+ && $_POST['criteriaColumnNames'][0] != 'pma_null'
+ && $_POST['criteriaColumnNames'][1] != 'pma_null'
+ && $_POST['criteriaColumnNames'][0] != $_POST['criteriaColumnNames'][1]
) {
/*
* Query generation part
@@ -212,8 +209,8 @@
//Append it to row array as where_clause
$row['where_clause'] = $uniqueCondition[0];
$tmpData = array(
- $criteriaColumnNames[0] => $row[$criteriaColumnNames[0]],
- $criteriaColumnNames[1] => $row[$criteriaColumnNames[1]],
+ $_POST['criteriaColumnNames'][0] => $row[$_POST['criteriaColumnNames'][0]],
+ $_POST['criteriaColumnNames'][1] => $row[$_POST['criteriaColumnNames'][1]],
'where_clause' => $uniqueCondition[0]
);
$tmpData[$dataLabel] = ($dataLabel) ? $row[$dataLabel] : '';

0 comments on commit a812a89

Please sign in to comment.
Something went wrong with that request. Please try again.