mirror of https://github.com/MISP/MISP
Merge branch 'develop' of github.com:MISP/MISP into develop
commit
e4efe1b305
|
@ -96,12 +96,14 @@ class AttributesController extends AppController
|
|||
[],
|
||||
true
|
||||
);
|
||||
foreach ($temp as &$t) {
|
||||
$t['info'] = $t['Event']['info'];
|
||||
$t['org_id'] = $t['Event']['org_id'];
|
||||
$t['date'] = $t['Event']['date'];
|
||||
if (!empty($temp)) {
|
||||
foreach ($temp as &$t) {
|
||||
$t['info'] = $t['Event']['info'];
|
||||
$t['org_id'] = $t['Event']['org_id'];
|
||||
$t['date'] = $t['Event']['date'];
|
||||
}
|
||||
$attribute['Event']['RelatedAttribute'][$attribute['Attribute']['id']] = $temp;
|
||||
}
|
||||
$attribute['Event']['RelatedAttribute'][$attribute['Attribute']['id']] = $temp;
|
||||
}
|
||||
|
||||
list($attributes, $sightingsData) = $this->__searchUI($attributes);
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<div class="confirmation">
|
||||
<?php
|
||||
echo $this->Form->create('Attribute', ['style' => 'margin:0px;', 'id' => 'PromptForm', 'url' => $baseurl . '/attributes/generateCorrelation']);
|
||||
$message = __('Recorrelate instance', );
|
||||
$message = __('Recorrelate instance');
|
||||
$buttonTitle = __('Recorrelate');
|
||||
?>
|
||||
<legend><?= $message ?></legend>
|
||||
|
|
Loading…
Reference in New Issue