summaryrefslogtreecommitdiff
path: root/includes/pages/admin_rooms.php
diff options
context:
space:
mode:
authorIgor Scheller <igor.scheller@igorshp.de>2017-01-03 15:32:12 +0100
committerIgor Scheller <igor.scheller@igorshp.de>2017-01-03 15:59:33 +0100
commit8254a79c58ab5f80bfd5549f6141fda8039599ab (patch)
tree318cdf59ba302b28c02601497fd06f7a55797244 /includes/pages/admin_rooms.php
parent1c27bf1375fe769ab53cbd67278ce41a5cc2a9d8 (diff)
Bugfixes & improvements
Diffstat (limited to 'includes/pages/admin_rooms.php')
-rw-r--r--includes/pages/admin_rooms.php8
1 files changed, 6 insertions, 2 deletions
diff --git a/includes/pages/admin_rooms.php b/includes/pages/admin_rooms.php
index 9738f888..61923689 100644
--- a/includes/pages/admin_rooms.php
+++ b/includes/pages/admin_rooms.php
@@ -45,7 +45,7 @@ function admin_rooms()
}
if (test_request_int('id')) {
- $room = Room($_REQUEST['id']);
+ $room = Room($_REQUEST['id'], false);
if ($room === false) {
engelsystem_error('Unable to load room.');
}
@@ -209,7 +209,11 @@ function admin_rooms()
]),
sprintf(_('Do you want to delete room %s?'), $name),
buttons([
- button(page_link_to('admin_rooms') . '&show=delete&id=' . $room_id . '&ack', _('Delete'), 'delete')
+ button(
+ page_link_to('admin_rooms') . '&show=delete&id=' . $room_id . '&ack',
+ _('Delete'),
+ 'delete btn-danger'
+ )
])
]);
}