aboutsummaryrefslogtreecommitdiff
path: root/app/views/resources/room_request
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/resources/room_request')
-rw-r--r--app/views/resources/room_request/decline.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/views/resources/room_request/decline.php b/app/views/resources/room_request/decline.php
index 188c4bb..2c02126 100644
--- a/app/views/resources/room_request/decline.php
+++ b/app/views/resources/room_request/decline.php
@@ -30,7 +30,7 @@
<? endif ?>
<? endif ?>
<footer data-dialog-button>
- <? if ($prev_request) : ?>
+ <? if (!empty($prev_request)) : ?>
<?= \Studip\LinkButton::create(
_('Vorherige Anfrage'),
$controller->declineURL($prev_request),
@@ -45,7 +45,7 @@
<? if ($show_form) : ?>
<?= \Studip\Button::createAccept($delete_mode ? _('Löschen') : _('Ablehnen'), 'confirm') ?>
<? endif ?>
- <? if ($next_request) : ?>
+ <? if (!empty($next_request)) : ?>
<?= \Studip\LinkButton::create(
_('Nächste Anfrage'),
$controller->declineURL($next_request),
@@ -53,4 +53,4 @@
) ?>
<? endif ?>
</footer>
-</form> \ No newline at end of file
+</form>