object are good
This commit is contained in:
parent
9cbb5f7f95
commit
c3235f52ff
|
@ -37,9 +37,9 @@ class image extends objectStructs
|
|||
(isset($vars->imageName) ? $vars->imageName : "" ) ) ) ;
|
||||
|
||||
if (isset( $vars->imageBasic->annotations) )
|
||||
$annotations = $vars['imageBasic']->annotations;
|
||||
$this->annotations = new imageAnnotations($vars->imageBasic->annotations) ;
|
||||
elseif (isset($vars['annotations']))
|
||||
$annotations = $vars['annotations'];
|
||||
$this->annotations = new imageAnnotations($vars['annotations']) ;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue