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