diff --git a/app/extensions/extensions.php b/app/extensions/extensions.php index 1ef15c07ba..6b7b51bcd4 100644 --- a/app/extensions/extensions.php +++ b/app/extensions/extensions.php @@ -165,7 +165,9 @@ echo th_order_by('extension', $text['label-extension'], $order_by, $order); echo th_order_by('call_group', $text['label-call_group'], $order_by, $order); //echo th_order_by('voicemail_mail_to', $text['label-voicemail_mail_to'], $order_by, $order); - echo th_order_by('user_context', $text['label-user_context'], $order_by, $order); + if (permission_exists("extension_user_context")) { + echo th_order_by('user_context', $text['label-user_context'], $order_by, $order); + } if (permission_exists('extension_registered')) { echo "