From 0d302e99afab32a4bc3f4cebe7a42ea55c0522dd Mon Sep 17 00:00:00 2001 From: Yuri Kuznetsov Date: Tue, 18 Nov 2014 14:31:23 +0200 Subject: [PATCH] clearnup --- .../Espo/Modules/Crm/EntryPoints/EventConfirmation.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/application/Espo/Modules/Crm/EntryPoints/EventConfirmation.php b/application/Espo/Modules/Crm/EntryPoints/EventConfirmation.php index 6964fc1da7..103f610372 100644 --- a/application/Espo/Modules/Crm/EntryPoints/EventConfirmation.php +++ b/application/Espo/Modules/Crm/EntryPoints/EventConfirmation.php @@ -34,7 +34,7 @@ class EventConfirmation extends \Espo\Core\EntryPoints\Base public static $authRequired = false; public function run() - { + { $uid = $_GET['uid']; $action = $_GET['action']; if (empty($uid) || empty($action)) { @@ -63,7 +63,7 @@ class EventConfirmation extends \Espo\Core\EntryPoints\Base if (!empty($eventType) && !empty($eventId) && !empty($inviteeType) && !empty($inviteeId) && !empty($link)) { $event = $this->getEntityManager()->getEntity($eventType, $eventId); $invitee = $this->getEntityManager()->getEntity($inviteeType, $inviteeId); - if ($event && $invitee) { + if ($event && $invitee) { $relDefs = $event->getRelations(); $tableName = Util::toUnderscore($relDefs[$link]['relationName']); @@ -88,9 +88,9 @@ class EventConfirmation extends \Espo\Core\EntryPoints\Base echo $status; return; } - } + } - throw new Error(); - } + throw new Error(); + } }