From cfc82c8ead93dcbd52abd22a55af0c339ceb0bd8 Mon Sep 17 00:00:00 2001 From: sbyrd Date: Wed, 2 Dec 2020 21:41:13 -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 045bc8d..69c89d0 100644 --- a/image.php +++ b/image.php @@ -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) ; } }