Skip to content

Commit

Permalink
suggestion by shyim
Browse files Browse the repository at this point in the history
  • Loading branch information
fballiano committed Apr 5, 2023
1 parent be12e3f commit 542dc5c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/code/core/Mage/GoogleAnalytics/Block/Ga.php
Original file line number Diff line number Diff line change
Expand Up @@ -193,14 +193,14 @@ protected function _getOrdersTrackingCodeUniversal()
}

/**
* @return string|void
* @return string
* @throws Mage_Core_Model_Store_Exception
*/
protected function _getOrdersTrackingCodeAnalytics4()
{
$orderIds = $this->getOrderIds();
if (empty($orderIds) || !is_array($orderIds)) {
return;
return '';
}
$collection = Mage::getResourceModel('sales/order_collection')
->addFieldToFilter('entity_id', ['in' => $orderIds]);
Expand Down

0 comments on commit 542dc5c

Please sign in to comment.