Merge pull request #12578 from devenbansod/fix_error_in_adcaf7c
Fix error in adcaf7c
This commit is contained in:
commit
d219c4f474
@ -460,10 +460,10 @@ class TableSearchController extends TableController
|
||||
return;
|
||||
}
|
||||
$key = array_search($field, $this->_columnNames);
|
||||
$search_index = 0;
|
||||
if (PMA_isValid(intval($_REQUEST['it']), 'numeric')) {
|
||||
$search_index = $_REQUEST['it'];
|
||||
}
|
||||
$search_index
|
||||
= ((isset($_REQUEST['it']) && is_numeric($_REQUEST['it']))
|
||||
? intval($_REQUEST['it']) : 0);
|
||||
|
||||
$properties = $this->getColumnProperties($search_index, $key);
|
||||
$this->response->addJSON(
|
||||
'field_type', htmlspecialchars($properties['type'])
|
||||
|
||||
Loading…
Reference in New Issue
Block a user