Skip to content

Commit db30481

Browse files
m-overlundfballiano
andcommitted
Fixed Illegal offset type in Mage_Tag (#3118)
Co-authored-by: Fabrizio Balliano <fabrizio.balliano@gmail.com>
1 parent 9187d78 commit db30481

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/core/Mage/Tag/Model/Resource/Product/Collection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -462,7 +462,7 @@ protected function _renderOrders()
462462

463463
$appliedOrders = [];
464464
foreach ($orders as $order) {
465-
$appliedOrders[$order[0]] = true;
465+
$appliedOrders[(string)$order[0]] = true;
466466
}
467467

468468
foreach ($this->_orders as $field => $direction) {

0 commit comments

Comments
 (0)