ask for dect number if user arrived

This commit is contained in:
msquare 2017-12-03 20:45:15 +01:00
parent ddfe3b028f
commit 6dfa70974e
1 changed files with 1 additions and 1 deletions

View File

@ -723,7 +723,7 @@ function render_user_dect_hint()
{ {
global $user; 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 \'-\'.'); $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'); return render_profile_link($text, null, 'alert-link');
} }