Skip to content

Commit ccc5272

Browse files
authored
Merge pull request #107 from centerax/fix-call-to-undefined-function-underscore
Fix Call to undefined function Magento\Ui\Controller\Adminhtml\Index\_()
2 parents 9d53562 + b628709 commit ccc5272

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/Ui/Controller/Adminhtml/Index

1 file changed

+1
-1
lines changed

app/code/Magento/Ui/Controller/Adminhtml/Index/Render.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ public function execute()
100100
} catch (\Exception $e) {
101101
$this->logger->critical($e);
102102
$result = [
103-
'error' => _('UI component could not be rendered because of system exception'),
103+
'error' => __('UI component could not be rendered because of system exception'),
104104
'errorcode' => $this->escaper->escapeHtml($e->getCode())
105105
];
106106
/** @var \Magento\Framework\Controller\Result\Json $resultJson */

0 commit comments

Comments
 (0)