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