fix: [event view] distribution field fixed

- didn't display the sharing groups
pull/8063/merge
iglocska 2022-03-17 14:38:06 +01:00
parent 63bc2ff77b
commit f16d83c60c
No known key found for this signature in database
GPG Key ID: BEA224F1FEF113AC
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@ $distribution = Hash::extract($data, $field['path'])[0];
$event_id_path = Hash::extract($data, $field['event_id_path'])[0];
if ($distribution == 4) {
try{
$sg = Hash::extract($data, $field['path']);
$sg = Hash::extract($data, $field['sg_path']);
} catch (Exception $e) {
$sg = null;
}