Skip to content

Commit 2b0c8fe

Browse files
committed
ACP2E-2595: Custom Customer Attribute Not Saving File type Attribute(Image)
1 parent 548789b commit 2b0c8fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Customer/Controller/Account/EditPost.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ public function execute()
236236

237237
$attributeToDelete = $this->_request->getParam('delete_attribute_value');
238238
if ((string)$attributeToDelete !== "") {
239-
$uploadedValue = $this->_request->getParam($attributeToDelete . File::UPLOADED_FILE_SUFFIX);
239+
$uploadedValue = $this->_request->getParam($attributeToDelete . File::UPLOADED_FILE_SUFFIX);
240240
if ((string)$uploadedValue === "") {
241241
$this->deleteCustomerFileAttribute($customerCandidate, $attributeToDelete);
242242
}

0 commit comments

Comments
 (0)