fix: [server preview] fixed sharing groups linking to the equivalent ID sharing group on the local instance

pull/3941/head
iglocska 2018-12-12 19:26:40 +01:00
parent 147ab92aa9
commit a56e1b44b5
1 changed files with 1 additions and 1 deletions

View File

@ -137,7 +137,7 @@
</td>
<td class="short <?php if ($event['Event']['distribution'] == 0) echo 'privateRedText';?>" ondblclick="document.location.href ='<?php echo $eventViewURL . h($event['Event']['id']);?>'" title = "<?php echo $event['Event']['distribution'] != 3 ? $distributionLevels[$event['Event']['distribution']] : 'All';?>">
<?php if ($event['Event']['distribution'] == 4):?>
<a href="/sharingGroups/view/<?php echo h($event['Event']['SharingGroup']['id']); ?>"><?php echo h($event['Event']['SharingGroup']['name']);?></a>
<?php echo h($event['Event']['SharingGroup']['name']);?>
<?php else:
echo h($shortDist[$event['Event']['distribution']]);
endif;