Convert fields with selected columns
This commit is contained in:
parent
de2c3968d4
commit
5a0be7e7fe
|
@ -33,7 +33,7 @@ $limit = $adminer->selectLimitProcess();
|
||||||
$from = ($select ? implode(", ", $select) : "*" . ($oid ? ", $oid" : ""));
|
$from = ($select ? implode(", ", $select) : "*" . ($oid ? ", $oid" : ""));
|
||||||
if ($jush == "sql" && !$_POST["export"]) {
|
if ($jush == "sql" && !$_POST["export"]) {
|
||||||
foreach ($columns as $key => $val) {
|
foreach ($columns as $key => $val) {
|
||||||
if ($select && !$select[$key]) {
|
if ($select && !in_array(idf_escape($key), $select)) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
$as = convert_field($fields[$key]);
|
$as = convert_field($fields[$key]);
|
||||||
|
|
Loading…
Reference in a new issue