Skip to content

Commit

Permalink
Update Tm.php
Browse files Browse the repository at this point in the history
  • Loading branch information
srenon authored Sep 27, 2017
1 parent 3a4ff66 commit eef6f84
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions app/code/local/MagePal/GoogleTagManager/Block/Tm.php
Original file line number Diff line number Diff line change
Expand Up @@ -152,11 +152,8 @@ public function getOrderCollection(){
return;
}

if(!$this->_orderCollection){
$this->_orderCollection = Mage::getResourceModel('sales/order_collection')
->addFieldToFilter('entity_id', array('in' => $orderIds))
;
}
$this->_orderCollection = Mage::getResourceModel('sales/order_collection')
->addFieldToFilter('entity_id', array('in' => $orderIds));

return $this->_orderCollection;
}
Expand Down

2 comments on commit eef6f84

@hans2103
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you create a new release for this change?

@srenon
Copy link
Contributor Author

@srenon srenon commented on eef6f84 Sep 27, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

Please sign in to comment.