From 3664ba2f5499723904f222daa32059cd54f95c68 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Fri, 20 Apr 2018 13:55:30 -0600 Subject: [PATCH] Update extension_edit.php --- app/extensions/extension_edit.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/extensions/extension_edit.php b/app/extensions/extension_edit.php index c6ad039b8c..5f3ddd7960 100644 --- a/app/extensions/extension_edit.php +++ b/app/extensions/extension_edit.php @@ -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); }