Skip to content

Commit a1ee7fe

Browse files
committed
MAGETWO-95646: Custom file attribute works incorrect
1 parent 32825a3 commit a1ee7fe

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
@@ -179,7 +179,7 @@ public function validateValue($value)
179179
$fileData = [
180180
'size' => filesize($dir . $value),
181181
'name' => $value,
182-
'tmp_name' => $dir . $value
182+
'tmp_name' => $dir . $value,
183183
];
184184
}
185185

0 commit comments

Comments
 (0)