object are good

This commit is contained in:
sbyrd 2020-12-02 21:41:13 -05:00
parent c3235f52ff
commit cfc82c8ead
1 changed files with 2 additions and 2 deletions

View File

@ -38,8 +38,8 @@ class image extends objectStructs
if (isset( $vars->imageBasic->annotations) ) if (isset( $vars->imageBasic->annotations) )
$this->annotations = new imageAnnotations($vars->imageBasic->annotations) ; $this->annotations = new imageAnnotations($vars->imageBasic->annotations) ;
elseif (isset($vars['annotations'])) elseif (isset($vars->annotations))
$this->annotations = new imageAnnotations($vars['annotations']) ; $this->annotations = new imageAnnotations($vars->annotations) ;
} }
} }