mirror of https://github.com/MISP/MISP
fix: Left off controller changes in the previous commit
parent
599825c17f
commit
d33b3b1434
|
@ -335,7 +335,6 @@ class EventsController extends AppController {
|
|||
} else {
|
||||
$this->paginate['conditions']['AND'][] = array('Event.publish_timestamp >=' => $v);
|
||||
}
|
||||
|
||||
break;
|
||||
case 'org' :
|
||||
if ($v == "") continue 2;
|
||||
|
@ -779,6 +778,7 @@ class EventsController extends AppController {
|
|||
private function __viewUI($event, $continue, $fromEvent) {
|
||||
$emptyEvent = (!isset($event['Attribute']) || empty($event['Attribute']));
|
||||
$this->set('emptyEvent', $emptyEvent);
|
||||
$this->set('attribute_count', isset($event['Attribute']) ? count($event['Attribute']) : 0);
|
||||
// set the data for the contributors / history field
|
||||
$org_ids = $this->Event->ShadowAttribute->getEventContributors($event['Event']['id']);
|
||||
$contributors = $this->Event->Org->find('list', array('fields' => array('Org.name'), 'conditions' => array('Org.id' => $org_ids)));
|
||||
|
|
Loading…
Reference in New Issue