From 0f049ba48a8ecd9dcf5b323856528f8646f04fa6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20D=C3=BCsterhus?= Date: Wed, 8 Jan 2014 15:55:24 +0100 Subject: [PATCH] Provide field in UserInputException in RoomAction::validateJoin() --- file/lib/data/room/RoomAction.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/file/lib/data/room/RoomAction.class.php b/file/lib/data/room/RoomAction.class.php index 94e0d8f..a70d007 100644 --- a/file/lib/data/room/RoomAction.class.php +++ b/file/lib/data/room/RoomAction.class.php @@ -167,7 +167,7 @@ public function validateJoin() { $this->readInteger('roomID'); $room = RoomCache::getInstance()->getRoom($this->parameters['roomID']); - if ($room === null) throw new exception\UserInputException(); + if ($room === null) throw new exception\UserInputException('roomID'); if (!$room->canEnter()) throw new exception\PermissionDeniedException(); }