roles
This commit is contained in:
parent
f90e9fcf5a
commit
b5c0c0e180
|
@ -21,8 +21,9 @@ class imageAnnotations extends objectStructs
|
|||
parent::__construct($Result);
|
||||
|
||||
$this->Log(__FUNCTION__ . " Load imageAnnotations with".print_r($Result,true));
|
||||
if (!is_array($this->roles))
|
||||
$this->roles = explode(',',$this->roles);
|
||||
if (is_string($Result->roles))
|
||||
$this->roles = explode(',',$Result->roles);
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue