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