Skip to content

Commit

Permalink
Fix for images with config_path
Browse files Browse the repository at this point in the history
  • Loading branch information
gonzaloebiz committed Dec 14, 2015
1 parent 62b9a18 commit 22f21d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/code/Magento/Config/Model/Config/Backend/File.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ public function beforeSave()
$file['name'] = $this->_requestData->getName($this->getPath());
} elseif (!empty($value['tmp_name'])) {
$file['tmp_name'] = $value['tmp_name'];
$file['name'] = $value['value'];
$file['name'] = $value['name'];
}
if (!empty($file)) {
$uploadDir = $this->_getUploadDir();
Expand Down

0 comments on commit 22f21d2

Please sign in to comment.