#12503 fixed empty all_ip in create agent

This commit is contained in:
Daniel Cebrian 2024-01-15 09:19:37 +01:00
parent cf55ea800e
commit 0b18397095
1 changed files with 1 additions and 1 deletions

View File

@ -1513,7 +1513,7 @@ ui_require_jquery_file('bgiframe');
function check_unique_ip() {
const direccion = $('#text-direccion').val();
let ip_all = <?php echo json_encode($ip_all); ?>;
if (!ip_all) {
if (ip_all) {
ip_all = Object.keys(ip_all);
}
$.ajax({