Update extension_edit.php

This commit is contained in:
FusionPBX 2018-05-28 14:18:04 -06:00 committed by GitHub
parent fed213f37a
commit 08d797b5c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -798,7 +798,7 @@
if ($action == 'update' && (permission_exists('follow_me') || permission_exists('call_forward') || permission_exists('do_not_disturb'))) {
echo " <input type='button' class='btn' alt='".$text['button-call_routing']."' onclick=\"window.location='../calls/call_edit.php?id=".$extension_uuid."';\" value='".$text['button-call_routing']."'>\n";
}
if ($action == "update") {
if ($action == "update" && permission_exists('extension_copy')) {
echo " <input type='button' class='btn' alt='".$text['button-copy']."' onclick=\"copy_extension();\" value='".$text['button-copy']."'>\n";
}
echo " <input type='button' class='btn' value='".$text['button-save']."' onclick='submit_form();'>\n";