diff --git a/app/extensions/extension_edit.php b/app/extensions/extension_edit.php index ae0ff40c5c..637dd495c8 100644 --- a/app/extensions/extension_edit.php +++ b/app/extensions/extension_edit.php @@ -860,10 +860,10 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) { } echo "\n"; echo " \n"; - if (permission_exists('follow_me') || permission_exists('call_forward') || permission_exists('do_not_disturb')) { + if ($action == 'update' && (permission_exists('follow_me') || permission_exists('call_forward') || permission_exists('do_not_disturb'))) { echo " \n"; } - if ($action != "add") { + if ($action == "update") { echo " \n"; } echo " \n";