Skip to content

Commit f62afbb

Browse files
committed
Merge pull request #8 from myekaterynenko/develop
[Github] Merge public Github commits
2 parents 9ec1d8f + beb5e00 commit f62afbb

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

app/code/Magento/Backend/Block/Widget/Grid/Column/Renderer/Currency.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ public function __construct(
8080
*/
8181
public function render(\Magento\Framework\Object $row)
8282
{
83-
if ($data = (string)$row->getData($this->getColumn()->getIndex())) {
83+
if ($data = (string)$this->_getValue($row)) {
8484
$currency_code = $this->_getCurrencyCode($row);
8585
$data = floatval($data) * $this->_getRate($row);
8686
$sign = (bool)(int)$this->getColumn()->getShowNumberSign() && $data > 0 ? '+' : '';

app/code/Magento/Backend/Block/Widget/Grid/Column/Renderer/Price.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public function __construct(
4848
*/
4949
public function render(\Magento\Framework\Object $row)
5050
{
51-
if ($data = $row->getData($this->getColumn()->getIndex())) {
51+
if ($data = $this->_getValue($row)) {
5252
$currencyCode = $this->_getCurrencyCode($row);
5353

5454
if (!$currencyCode) {

app/code/Magento/Cms/Ui/DataProvider/Page/Row/Actions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class Actions implements RowInterface
1616
/**
1717
* Url path
1818
*/
19-
const URL_PATH = 'adminhtml/cms_page/edit';
19+
const URL_PATH = 'cms/page/edit';
2020

2121
/**
2222
* @var UrlBuilder

app/code/Magento/Email/Model/Resource/Template.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ public function checkCodeUsage(\Magento\Email\Model\Template $template)
9999
protected function _beforeSave(AbstractModel $object)
100100
{
101101
if ($object->isObjectNew()) {
102-
$object->setCreatedAt($this->dateTime->formatDate(true));
102+
$object->setAddedAt($this->dateTime->formatDate(true));
103103
}
104104
$object->setModifiedAt($this->dateTime->formatDate(true));
105105
$object->setTemplateType((int)$object->getTemplateType());

0 commit comments

Comments
 (0)