mirror of
https://github.com/vrana/adminer.git
synced 2025-08-09 08:06:59 +02:00
Use existing variable
This commit is contained in:
@@ -24,7 +24,7 @@ class AdminerFileUpload {
|
||||
|
||||
function editInput($table, $field, $attrs, $value) {
|
||||
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