ask for dect number if user arrived
This commit is contained in:
parent
ddfe3b028f
commit
6dfa70974e
|
@ -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');
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue