Skip to content

Commit

Permalink
[srcq-OpenMage#910] Unused var in Mage_Sales_Controller_Abstract::reo…
Browse files Browse the repository at this point in the history
…rderAction()
  • Loading branch information
henrykbrzoska authored and edannenberg committed Aug 24, 2020
1 parent 92a2822 commit b065ffd
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions app/code/core/Mage/Sales/Controller/Abstract.php
Original file line number Diff line number Diff line change
Expand Up @@ -141,10 +141,9 @@ public function reorderAction()
return;
}
$order = Mage::registry('current_order');

$cart = Mage::getSingleton('checkout/cart');
$cartTruncated = false;

/* @var $cart Mage_Checkout_Model_Cart */
$cart = Mage::getSingleton('checkout/cart');

$items = $order->getItemsCollection();
foreach ($items as $item) {
Expand Down

0 comments on commit b065ffd

Please sign in to comment.