This commit is contained in:
sbyrd 2020-12-17 22:45:44 -05:00
parent f90e9fcf5a
commit b5c0c0e180
1 changed files with 3 additions and 2 deletions

View File

@ -21,8 +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 (!is_array($this->roles)) if (is_string($Result->roles))
$this->roles = explode(',',$this->roles); $this->roles = explode(',',$Result->roles);
} }