Merge branch 'hotfix-2.2.31'

pull/274/merge
iglocska 2014-06-06 10:46:28 +02:00
commit a2acf61e33
1 changed files with 1 additions and 1 deletions

View File

@ -930,7 +930,7 @@ class EventsController extends AppController {
}
if (!$this->_isSiteAdmin()) {
$this->Event->read();
if (!$this->Event->data['Event']['orgc'] == $this->_checkOrg()) {
if ($this->Event->data['Event']['orgc'] != $this->_checkOrg()) {
throw new MethodNotAllowedException();
}
}