object are good

This commit is contained in:
sbyrd 2020-12-02 21:38:24 -05:00
parent 9cbb5f7f95
commit c3235f52ff
1 changed files with 2 additions and 2 deletions

View File

@ -37,9 +37,9 @@ class image extends objectStructs
(isset($vars->imageName) ? $vars->imageName : "" ) ) ) ; (isset($vars->imageName) ? $vars->imageName : "" ) ) ) ;
if (isset( $vars->imageBasic->annotations) ) if (isset( $vars->imageBasic->annotations) )
$annotations = $vars['imageBasic']->annotations; $this->annotations = new imageAnnotations($vars->imageBasic->annotations) ;
elseif (isset($vars['annotations'])) elseif (isset($vars['annotations']))
$annotations = $vars['annotations']; $this->annotations = new imageAnnotations($vars['annotations']) ;
} }
} }