Update extension_edit.php
This commit is contained in:
parent
c6f69542a1
commit
3c12017a76
|
|
@ -434,7 +434,7 @@
|
||||||
unset($mwi_account_array);
|
unset($mwi_account_array);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//update devices having extension assigned to line(s) with new password
|
//update devices having extension assigned to line(s) with new password
|
||||||
if ($action == "update" && $range == 1 && permission_exists('extension_password')) {
|
if ($action == "update" && $range == 1 && permission_exists('extension_password')) {
|
||||||
|
|
@ -443,7 +443,6 @@
|
||||||
$sql .= "where domain_uuid = '".check_str($_SESSION['domain_uuid'])."' ";
|
$sql .= "where domain_uuid = '".check_str($_SESSION['domain_uuid'])."' ";
|
||||||
$sql .= "and server_address = '".check_str($_SESSION['domain_name'])."' ";
|
$sql .= "and server_address = '".check_str($_SESSION['domain_name'])."' ";
|
||||||
$sql .= "and user_id = '".check_str($extension)."' ";
|
$sql .= "and user_id = '".check_str($extension)."' ";
|
||||||
$sql .= "and password = '".check_str($extension)."' ";
|
|
||||||
$db->exec(check_sql($sql));
|
$db->exec(check_sql($sql));
|
||||||
unset($sql);
|
unset($sql);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue