From 75af069c445c1c585bddfb6fb7484d73c09ef1bc Mon Sep 17 00:00:00 2001 From: Boes Date: Fri, 4 Jun 2021 14:33:41 +0200 Subject: [PATCH] Resolves the PHP error: Declaration of Mage_Tag_Model_Api_V2::items(, ) should be compatible with Mage_Tag_Model_Api::items(, = NULL) --- app/code/core/Mage/Tag/Model/Api/V2.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/code/core/Mage/Tag/Model/Api/V2.php b/app/code/core/Mage/Tag/Model/Api/V2.php index fc3b1fbd059..b54a0c18a9a 100644 --- a/app/code/core/Mage/Tag/Model/Api/V2.php +++ b/app/code/core/Mage/Tag/Model/Api/V2.php @@ -40,7 +40,7 @@ class Mage_Tag_Model_Api_V2 extends Mage_Tag_Model_Api * @param string|int $store * @return array */ - public function items($productId, $store) + public function items($productId, $store = null) { $result = parent::items($productId, $store); foreach ($result as $key => $tag) {