Skip to content

Commit 94563c7

Browse files
boesboBoes
andauthored
Resolves the PHP error: Declaration of Mage_Tag_Model_Api_V2::items(, ) should be compatible with Mage_Tag_Model_Api::items(, = NULL) (OpenMage#1674)
Co-authored-by: Boes <francescoboes@gmail.com>
1 parent 4d2ce08 commit 94563c7

File tree

1 file changed

+1
-1
lines changed
  • app/code/core/Mage/Tag/Model/Api

1 file changed

+1
-1
lines changed

app/code/core/Mage/Tag/Model/Api/V2.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ class Mage_Tag_Model_Api_V2 extends Mage_Tag_Model_Api
4040
* @param string|int $store
4141
* @return array
4242
*/
43-
public function items($productId, $store)
43+
public function items($productId, $store = null)
4444
{
4545
$result = parent::items($productId, $store);
4646
foreach ($result as $key => $tag) {

0 commit comments

Comments
 (0)