roles
This commit is contained in:
parent
d8797fa0d7
commit
d894c98d66
|
@ -39,6 +39,8 @@ class image extends objectStructs
|
||||||
$annotations = $vars['imageBasic']->annotations;
|
$annotations = $vars['imageBasic']->annotations;
|
||||||
elseif (isset($vars['annotations']))
|
elseif (isset($vars['annotations']))
|
||||||
$annotations = $vars['annotations'];
|
$annotations = $vars['annotations'];
|
||||||
|
else
|
||||||
|
$annotations = array();
|
||||||
|
|
||||||
$this->annotations = new imageAnnotations($annotations);
|
$this->annotations = new imageAnnotations($annotations);
|
||||||
if (isset($vars['imageConfig']))
|
if (isset($vars['imageConfig']))
|
||||||
|
|
|
@ -21,6 +21,7 @@ class imageAnnotations extends objectStructs
|
||||||
parent::__construct($Result);
|
parent::__construct($Result);
|
||||||
if ($this->roles and empty($this->roles) )
|
if ($this->roles and empty($this->roles) )
|
||||||
{
|
{
|
||||||
|
$this->Log(__FUNCTION__ . " We have roles, lets explode");
|
||||||
$this->roles = explode(',',$this->roles);
|
$this->roles = explode(',',$this->roles);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue