Skip to content

Commit 1a9b833

Browse files
author
Dmytro Voskoboinikov
committedFeb 12, 2018
Merge branch '2.2-develop' into 2.2.4-PR-20170111
2 parents c37350e + 0839bd4 commit 1a9b833

File tree

87 files changed

+4587
-679
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

87 files changed

+4587
-679
lines changed
 

‎app/code/Magento/Checkout/view/frontend/templates/cart/item/configure/updatecart.phtml

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
value=""
2424
title="<?= /* @escapeNotVerified */ __('Qty') ?>"
2525
class="input-text qty"
26-
data-validate="{'required-number':true,digits:true}"/>
26+
data-validate="<?= $block->escapeHtml(json_encode($block->getQuantityValidators())) ?>"/>
2727
</div>
2828
</div>
2929
<?php endif; ?>

‎app/code/Magento/Customer/Model/FileUploader.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ public function upload()
110110
$result = $fileProcessor->saveTemporaryFile($this->scope . '[' . $this->getAttributeCode() . ']');
111111

112112
// Update tmp_name param. Required for attribute validation!
113-
$result['tmp_name'] = $result['path'] . '/' . ltrim($result['file'], '/');
113+
$result['tmp_name'] = ltrim($result['file'], '/');
114114

115115
$result['url'] = $fileProcessor->getViewUrl(
116116
FileProcessor::TMP_DIR . '/' . ltrim($result['name'], '/'),

0 commit comments

Comments
 (0)
Please sign in to comment.