1
0
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:
Jakub Vrana
2018-02-06 11:57:02 +01:00
parent 880902da17
commit de539cf0c7

View File

@@ -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>";
}
}