summaryrefslogtreecommitdiff
path: root/includes/view/User_view.php
diff options
context:
space:
mode:
authormsquare <msquare@notrademark.de>2017-12-03 20:45:15 +0100
committermsquare <msquare@notrademark.de>2017-12-03 20:45:15 +0100
commit6dfa70974ec3a66f49c7fbdba255f99a31297342 (patch)
tree70c6edb35d7f3ae4d300c0acf53fc4ba61623e2b /includes/view/User_view.php
parentddfe3b028f637f28fa8fb6fb32249a87e744a4df (diff)
ask for dect number if user arrived
Diffstat (limited to 'includes/view/User_view.php')
-rw-r--r--includes/view/User_view.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/view/User_view.php b/includes/view/User_view.php
index 840cfb1c..755bec08 100644
--- a/includes/view/User_view.php
+++ b/includes/view/User_view.php
@@ -723,7 +723,7 @@ function render_user_dect_hint()
{
global $user;
- if ($user['DECT'] == '') {
+ if ($user['Gekommen'] == 1 && $user['DECT'] == '') {
$text = _('You need to specify a DECT phone number in your settings! If you don\'t have a DECT phone, just enter \'-\'.');
return render_profile_link($text, null, 'alert-link');
}