aboutsummaryrefslogtreecommitdiff
path: root/view
diff options
context:
space:
mode:
authordedeibel2017-12-11 20:03:35 +0100
committerdedeibel2017-12-11 20:03:35 +0100
commit0b73843d5e0d0ac22a46db28090e707566668ae4 (patch)
tree52a824f118f99f14d7079d2c05e9f3035350e1ee /view
parent46852c4f9c77ab77b9bcc18c901f9f8640d9f305 (diff)
Leading Spaces to Tabs
Diffstat (limited to 'view')
-rw-r--r--view/embed.php12
-rw-r--r--view/room.php2
2 files changed, 7 insertions, 7 deletions
diff --git a/view/embed.php b/view/embed.php
index aaf203d..97df148 100644
--- a/view/embed.php
+++ b/view/embed.php
@@ -9,13 +9,13 @@ $selection = $_GET['selection'];
$language = $_GET['language'];
if ($language !== 'native' && $language !== 'stereo') {
- if (! $room->hasTranslation()) {
- throw new NotFoundException('Not translated');
- }
+ if (! $room->hasTranslation()) {
+ throw new NotFoundException('Not translated');
+ }
- if (! $room->isValidLanguage($language)) {
- throw new NotFoundException('Language not found');
- }
+ if (! $room->isValidLanguage($language)) {
+ throw new NotFoundException('Language not found');
+ }
}
$stream = $room->selectStream($selection, $language);
diff --git a/view/room.php b/view/room.php
index c63f9ec..d035219 100644
--- a/view/room.php
+++ b/view/room.php
@@ -5,7 +5,7 @@ $selection = $_GET['selection'];
$language = $_GET['language'];
if (! $room->isValidLanguage($language)) {
- throw new NotFoundException('Language not found');
+ throw new NotFoundException('Language not found');
}
$stream = $room->selectStream($selection, $language);