diff options
author | Philip Häusler <msquare@notrademark.de> | 2013-12-01 22:16:29 +0100 |
---|---|---|
committer | Philip Häusler <msquare@notrademark.de> | 2013-12-01 22:16:29 +0100 |
commit | e475b4f08364ebb5a7dd1717bd24e8d28dd9bd53 (patch) | |
tree | 8db7027a8a4039200b2709b57a78890246d05bd7 | |
parent | c1539ef5bb688abd5d8ab91d5cc8cba991f6177c (diff) |
prevent shirt and dect message from beeing shown when not logged in
-rw-r--r-- | public/index.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/public/index.php b/public/index.php index 9a61c9cd..82ece193 100644 --- a/public/index.php +++ b/public/index.php @@ -194,10 +194,10 @@ if (isset($user) && $p != "user_messages") if (isset($user) && $user['Gekommen'] == 0) $content = error(_("You are not marked as arrived. Please go to heaven's desk, get your angel badge and/or tell them that you arrived already."), true) . $content; -if($enable_tshirt_size && $user['Size'] == "") +if(isset($user) && $enable_tshirt_size && $user['Size'] == "") $content = error(_("You need to specify a tshirt size in your settings!"), true) . $content; -if($user['DECT'] == "") +if(isset($user) && $user['DECT'] == "") $content = error(_("You need to specify a DECT phone number in your settings! If you don't have a DECT phone, just enter \"-\"."), true) . $content; // Erzengel Hinweis für unbeantwortete Fragen |