roles
This commit is contained in:
parent
ec016387bd
commit
f90e9fcf5a
|
@ -21,11 +21,9 @@ class imageAnnotations extends objectStructs
|
|||
parent::__construct($Result);
|
||||
|
||||
$this->Log(__FUNCTION__ . " Load imageAnnotations with".print_r($Result,true));
|
||||
if ($this->roles and empty($this->roles) )
|
||||
{
|
||||
$this->Log(__FUNCTION__ . " We have roles, lets explode");
|
||||
if (!is_array($this->roles))
|
||||
$this->roles = explode(',',$this->roles);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public function hasRole( string $Role)
|
||||
|
|
Loading…
Reference in New Issue