From 8c2d6efec0213004d0ea2623fdc9635f1ccae108 Mon Sep 17 00:00:00 2001 From: Maximilian Mader Date: Fri, 2 Aug 2013 19:59:57 +0200 Subject: [PATCH] Fix formatting I keep forgetting these rules ... --- file/lib/acp/page/MessageLogPage.class.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/file/lib/acp/page/MessageLogPage.class.php b/file/lib/acp/page/MessageLogPage.class.php index 4f60406..7cfc5a5 100644 --- a/file/lib/acp/page/MessageLogPage.class.php +++ b/file/lib/acp/page/MessageLogPage.class.php @@ -81,7 +81,8 @@ public function readData() { if ($this->date > TIME_NOW) { throw new \wcf\system\exception\UserInputException('date', 'inFuture'); } - } catch (\wcf\system\exception\UserInputException $e) { + } + catch (\wcf\system\exception\UserInputException $e) { $this->errorField = $e->getField(); $this->errorType = $e->getType(); @@ -92,7 +93,8 @@ public function readData() { if ($this->date < strtotime('today 00:00:00 -'.ceil(CHAT_LOG_ARCHIVETIME / 1440).'day')) { throw new \wcf\system\exception\UserInputException('date', 'tooLongAgo'); } - } catch (\wcf\system\exception\UserInputException $e) { + } + catch (\wcf\system\exception\UserInputException $e) { $this->errorField = $e->getField(); $this->errorType = $e->getType();