mirror of https://github.com/MISP/MISP
Merge branch 'hotfix-2.3.52'
commit
c770347828
|
@ -1 +1 @@
|
|||
{"major":2, "minor":3, "hotfix":51}
|
||||
{"major":2, "minor":3, "hotfix":52}
|
||||
|
|
|
@ -2502,9 +2502,10 @@ class EventsController extends AppController {
|
|||
$converter = new JSONConverterTool();
|
||||
$temp = array();
|
||||
$final = '{"response":[';
|
||||
foreach ($eventIds as $currentEventId) {
|
||||
foreach ($eventIds as $k => $currentEventId) {
|
||||
$result = $this->__fetchEvent($currentEventId, null, $user['User']['org'], true);
|
||||
$final .= $converter->event2JSON($result[0]);
|
||||
if ($k < count($eventIds) -1 ) $final .= ',';
|
||||
}
|
||||
$final .= ']}';
|
||||
$final_filename="misp.search.events.results.json";
|
||||
|
|
|
@ -167,7 +167,7 @@
|
|||
|
||||
if ($isSiteAdmin || ($isAclModify && $event['Event']['user_id'] == $me['id']) || ($isAclModifyOrg && $event['Event']['org'] == $me['org'])) {
|
||||
?>
|
||||
<a href='/events/view/<?php echo $event['Event']['id'];?>' class = "icon-edit" title = "Edit"></a>
|
||||
<a href='/events/edit/<?php echo $event['Event']['id'];?>' class = "icon-edit" title = "Edit"></a>
|
||||
<?php
|
||||
echo $this->Form->postLink('', array('action' => 'delete', $event['Event']['id']), array('class' => 'icon-trash', 'title' => 'Delete'), __('Are you sure you want to delete # %s?', $event['Event']['id']));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue