This commit is contained in:
2020-12-17 22:40:48 -05:00
parent ec016387bd
commit f90e9fcf5a

View File

@@ -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)