This commit is contained in:
sbyrd 2020-12-17 22:36:23 -05:00
parent d8797fa0d7
commit d894c98d66
2 changed files with 3 additions and 0 deletions

View File

@ -39,6 +39,8 @@ class image extends objectStructs
$annotations = $vars['imageBasic']->annotations;
elseif (isset($vars['annotations']))
$annotations = $vars['annotations'];
else
$annotations = array();
$this->annotations = new imageAnnotations($annotations);
if (isset($vars['imageConfig']))

View File

@ -21,6 +21,7 @@ class imageAnnotations extends objectStructs
parent::__construct($Result);
if ($this->roles and empty($this->roles) )
{
$this->Log(__FUNCTION__ . " We have roles, lets explode");
$this->roles = explode(',',$this->roles);
}
}