summaryrefslogtreecommitdiff
path: root/includes/controller
diff options
context:
space:
mode:
authormsquare <msquare@notrademark.de>2017-12-27 14:41:07 +0100
committerGitHub <noreply@github.com>2017-12-27 14:41:07 +0100
commite0ce3168e26ec392de922f8afcfd1e32bd9f27b6 (patch)
tree8da5c42f5c49ec15eceaf7a1a6de6990e0bd9900 /includes/controller
parent02b775684d643850e4a4ea3d9ac7028b6af3b469 (diff)
parentb00743d6d3a47abf606cf6fc10e1a5792873893b (diff)
Merge pull request #397 from MyIgel/master
Filter angel types based on account settings, closes #362
Diffstat (limited to 'includes/controller')
-rw-r--r--includes/controller/shift_entries_controller.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/controller/shift_entries_controller.php b/includes/controller/shift_entries_controller.php
index 818557a4..ea5e319e 100644
--- a/includes/controller/shift_entries_controller.php
+++ b/includes/controller/shift_entries_controller.php
@@ -10,8 +10,8 @@ use Engelsystem\ShiftSignupState;
function shift_entries_controller()
{
global $user;
-
- if(!isset($user)) {
+
+ if (!isset($user)) {
redirect(page_link_to('login'));
}