We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cc55f44 commit 41c4e02Copy full SHA for 41c4e02
libraries/controllers/TableSearchController.class.php
@@ -471,7 +471,11 @@ public function changeTableInfoAction()
471
return;
472
}
473
$key = array_search($field, $this->_columnNames);
474
- $properties = $this->getColumnProperties($_REQUEST['it'], $key);
+ $search_index = 0;
475
+ if (PMA_isValid($_REQUEST['it'], 'integer')) {
476
+ $search_index = $_REQUEST['it'];
477
+ }
478
+ $properties = $this->getColumnProperties($search_index, $key);
479
$this->response->addJSON(
480
'field_type', htmlspecialchars($properties['type'])
481
);
0 commit comments