Skip to content

Commit

Permalink
Merge pull request #64 from seansan/patch-3
Browse files Browse the repository at this point in the history
FIX. Enable re-sending again - http://magento.stackexchange.com/a/376…
  • Loading branch information
colinmollenhour authored Oct 25, 2016
2 parents 5a0789f + 1e6795c commit 8da96ce
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,8 @@ public function emailAction()
{
if ($order = $this->_initOrder()) {
try {
// FIX. Enable re-sending again - http://magento.stackexchange.com/a/37690/78
$order->setEmailSent(false);
$order->sendNewOrderEmail();
$historyItem = Mage::getResourceModel('sales/order_status_history_collection')
->getUnnotifiedForInstance($order, Mage_Sales_Model_Order::HISTORY_ENTITY_NAME);
Expand Down

0 comments on commit 8da96ce

Please sign in to comment.