fix: Don't show the attribute level correlation checkboxes if the event correlation is disabled

pull/1784/head
iglocska 2016-12-22 20:42:34 +01:00
parent bff10779a8
commit 59619f7c3a
1 changed files with 2 additions and 2 deletions

View File

@ -171,7 +171,7 @@
<th><?php echo $this->Paginator->sort('value');?></th>
<th><?php echo $this->Paginator->sort('comment');?></th>
<?php
if ($mayChangeCorrelation):
if ($mayChangeCorrelation && !$event['Event']['disable_correlation']):
?>
<th>Correlate</th>
<?php
@ -357,7 +357,7 @@
</div>
</td>
<?php
if ($mayChangeCorrelation):
if ($mayChangeCorrelation && !$event['Event']['disable_correlation']):
if ($object['objectType'] == 0):
?>
<td class="short" style="padding-top:3px;">