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