Fixes wrongfull check for metadatum object as instance of metadata.
This commit is contained in:
parent
3bd79116df
commit
68279791f5
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue