From c3235f52ff50885bce4532485b7d413c69da2709 Mon Sep 17 00:00:00 2001 From: sbyrd Date: Wed, 2 Dec 2020 21:38:24 -0500 Subject: [PATCH] object are good --- image.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/image.php b/image.php index 01a5bff..045bc8d 100644 --- a/image.php +++ b/image.php @@ -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']) ; } }