From 1eb0dad205dce9faf985d16728026c9b4d57ad9d Mon Sep 17 00:00:00 2001 From: Jacson Passold Date: Thu, 30 Nov 2017 15:24:12 -0200 Subject: [PATCH] remove default value for compatibility with item meta fetch --- src/classes/repositories/class-tainacan-item-metadata.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/classes/repositories/class-tainacan-item-metadata.php b/src/classes/repositories/class-tainacan-item-metadata.php index 79804fe9d..3c5a0e158 100644 --- a/src/classes/repositories/class-tainacan-item-metadata.php +++ b/src/classes/repositories/class-tainacan-item-metadata.php @@ -44,7 +44,7 @@ class Item_Metadata extends Repository { * @param Entities\Item $object * @return array */ - public function fetch($object){ + public function fetch($object, $output = null ){ if($object instanceof Entities\Item){ global $Tainacan_Items, $Tainacan_Metadatas;