We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 219ad3f + d59c993 commit b67af41Copy full SHA for b67af41
app/code/Magento/Sales/Block/Adminhtml/Order/View/History.php
@@ -88,7 +88,8 @@ public function getStatuses()
88
*/
89
public function canSendCommentEmail()
90
{
91
- return $this->_salesData->canSendOrderCommentEmail($this->getOrder()->getStore()->getId());
+ return $this->_salesData->canSendOrderCommentEmail($this->getOrder()->getStore()->getId())
92
+ && $this->_authorization->isAllowed('Magento_Sales::email');
93
}
94
95
/**
0 commit comments