aboutsummaryrefslogtreecommitdiff
path: root/pages/room.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--pages/room.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/pages/room.php b/pages/room.php
index 18bbe7f..abd764d 100644
--- a/pages/room.php
+++ b/pages/room.php
@@ -7,6 +7,9 @@ $room = $_GET['room'];
$language = $_GET['language'];
$selection = $_GET['selection'];
+if(!has("ROOMS.$room"))
+ return include('404.php');
+
$formats = get("ROOMS.$room.FORMATS");
$has_translation = get("ROOMS.$room.TRANSLATION");