Update extension_edit.php

This commit is contained in:
FusionPBX 2018-04-20 13:55:30 -06:00 committed by GitHub
parent 7d266c7451
commit 3664ba2f54
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -434,7 +434,7 @@
unset($mwi_account_array);
}
}
}
}
//update devices having extension assigned to line(s) with new password
if ($action == "update" && $range == 1 && permission_exists('extension_password')) {
@ -443,7 +443,6 @@
$sql .= "where domain_uuid = '".check_str($_SESSION['domain_uuid'])."' ";
$sql .= "and server_address = '".check_str($_SESSION['domain_name'])."' ";
$sql .= "and user_id = '".check_str($extension)."' ";
$sql .= "and password = '".check_str($extension)."' ";
$db->exec(check_sql($sql));
unset($sql);
}