Skip to content

Commit b67af41

Browse files
committed
Merge remote-tracking branch 'origin/MAGETWO-73301' into 2.2-develop-pr56
2 parents 219ad3f + d59c993 commit b67af41

File tree

1 file changed

+2
-1
lines changed
  • app/code/Magento/Sales/Block/Adminhtml/Order/View

1 file changed

+2
-1
lines changed

app/code/Magento/Sales/Block/Adminhtml/Order/View/History.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,8 @@ public function getStatuses()
8888
*/
8989
public function canSendCommentEmail()
9090
{
91-
return $this->_salesData->canSendOrderCommentEmail($this->getOrder()->getStore()->getId());
91+
return $this->_salesData->canSendOrderCommentEmail($this->getOrder()->getStore()->getId())
92+
&& $this->_authorization->isAllowed('Magento_Sales::email');
9293
}
9394

9495
/**

0 commit comments

Comments
 (0)