mirror of
https://github.com/vrana/adminer.git
synced 2025-08-10 08:34:20 +02:00
Use existing variable
This commit is contained in:
@@ -24,7 +24,7 @@ class AdminerFileUpload {
|
|||||||
|
|
||||||
function editInput($table, $field, $attrs, $value) {
|
function editInput($table, $field, $attrs, $value) {
|
||||||
if (preg_match('~(.*)_path$~', $field["field"])) {
|
if (preg_match('~(.*)_path$~', $field["field"])) {
|
||||||
return "<input type='file' name='fields-$field[field]'>";
|
return "<input type='file'$attrs>";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user