diff --git a/app/sip_profiles/sip_profile_edit.php b/app/sip_profiles/sip_profile_edit.php index 0870dd72bc..ecc5f8edea 100644 --- a/app/sip_profiles/sip_profile_edit.php +++ b/app/sip_profiles/sip_profile_edit.php @@ -270,7 +270,7 @@ echo "".$text['title-sip_profile']."

\n"; echo "\n"; echo " "; - if ($action == 'edit' && ( + if ($action == 'update' && ( permission_exists('dialplan_add') || permission_exists('inbound_route_add') || permission_exists('outbound_route_add')