From 988f7509d7f4b90210d11f12b46acfb44e7156fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philip=20H=C3=A4usler?= Date: Sun, 1 Dec 2013 21:06:45 +0100 Subject: [PATCH] hint for specifying a dect number --- public/index.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/public/index.php b/public/index.php index 88276ef6..9a61c9cd 100644 --- a/public/index.php +++ b/public/index.php @@ -197,6 +197,9 @@ if (isset($user) && $user['Gekommen'] == 0) if($enable_tshirt_size && $user['Size'] == "") $content = error(_("You need to specify a tshirt size in your settings!"), true) . $content; +if($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 if (isset($user) && $p != "admin_questions") $content = admin_new_questions() . $content;