diff options
author | msquare <msquare@notrademark.de> | 2017-12-03 20:45:15 +0100 |
---|---|---|
committer | msquare <msquare@notrademark.de> | 2017-12-03 20:45:15 +0100 |
commit | 6dfa70974ec3a66f49c7fbdba255f99a31297342 (patch) | |
tree | 70c6edb35d7f3ae4d300c0acf53fc4ba61623e2b /includes/view | |
parent | ddfe3b028f637f28fa8fb6fb32249a87e744a4df (diff) |
ask for dect number if user arrived
Diffstat (limited to 'includes/view')
-rw-r--r-- | includes/view/User_view.php | 2 |
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'); } |