Tweak to allow IOC Export of events you don't own but are shared

pull/199/head
Chris Clark 2013-12-19 14:27:53 -05:00
parent 1aec3ac01b
commit 8678103d59
1 changed files with 2 additions and 0 deletions

View File

@ -8,7 +8,9 @@ class IOCExportComponent extends Component {
$temp = array();
if (!$isSiteAdmin) {
if (!$isMyEvent) {
if ($event['Event']['distribution'] == 0) {
throw new Exception('Nothing to see here (not authorised)');
}
}
}
$this->__buildTop($event);