Skip to content

Commit add1451

Browse files
committed
MAGETWO-95647: Custom file attribute works incorrect
1 parent e5d2119 commit add1451

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/Eav/Model/Attribute/Data

1 file changed

+1
-1
lines changed

app/code/Magento/Eav/Model/Attribute/Data/File.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ public function validateValue($value)
180180
$fileData = [
181181
'size' => filesize($dir . $value),
182182
'name' => $value,
183-
'tmp_name' => $dir . $value
183+
'tmp_name' => $dir . $value,
184184
];
185185
}
186186

0 commit comments

Comments
 (0)