mirror of https://github.com/MISP/MISP
fixed logic bug
parent
ad69aeb38f
commit
155f9fe720
|
@ -311,7 +311,7 @@ class EventsController extends AppController {
|
|||
$this->Event->saveField('published', 1);
|
||||
|
||||
// upload the event to remote servers
|
||||
if ('true' != Configure::read('CyDefSIG.sync'))
|
||||
if ('true' == Configure::read('CyDefSIG.sync'))
|
||||
$this->_uploadEventToServers($id);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue