fixed logic bug

pull/61/head
Christophe Vandeplas 2012-05-25 10:01:59 +02:00
parent ad69aeb38f
commit 155f9fe720
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}