roles
This commit is contained in:
@@ -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']))
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user