Fixes wrongfull check for metadatum object as instance of metadata.

This commit is contained in:
mateuswetah 2022-09-05 15:34:29 -03:00
parent 3bd79116df
commit 68279791f5
1 changed files with 1 additions and 1 deletions

View File

@ -609,7 +609,7 @@ class Item extends Entity {
}
// Some checks to see if things are really ok
if ( !($metadatum instanceof \Tainacan\Entities\Metadatum) ) {
if ( !($metadatum_object instanceof \Tainacan\Entities\Metadatum) ) {
return $return;
} else {
// Makes sure the current Metadatum is desired