diff --git a/bureau/admin/adm_authip_whitelist.php b/bureau/admin/adm_authip_whitelist.php index 53f39f5c..d9b5701b 100644 --- a/bureau/admin/adm_authip_whitelist.php +++ b/bureau/admin/adm_authip_whitelist.php @@ -76,7 +76,9 @@ $list_ip = $authip->list_ip_whitelist(); } else { $txt="Subnet IPv6"; } - } + } else { + $txt = "Unknow IP"; + } echo "$txt{$i['ip_human']}{$i['infos']}"; ?>
);">
diff --git a/bureau/admin/adm_doedit.php b/bureau/admin/adm_doedit.php index 362e8706..138402b9 100644 --- a/bureau/admin/adm_doedit.php +++ b/bureau/admin/adm_doedit.php @@ -68,7 +68,7 @@ if ($pass != $passconf) { // When changing its own account, enabled forced to 1. if ($uid==$mem->user["uid"]) { $enabled=1; - } +} if (!$admin->update_mem($uid, $nmail, $nom, $prenom, $pass, $enabled, $canpass, $type, $duration, $notes, $reset_quotas)){ $error=$err->errstr(); diff --git a/bureau/admin/dom_subedit.php b/bureau/admin/dom_subedit.php index 7e7d295f..3b00126e 100644 --- a/bureau/admin/dom_subedit.php +++ b/bureau/admin/dom_subedit.php @@ -41,6 +41,9 @@ $dom->lock(); if (!isset($noread) || !$noread) { if (!$r=$dom->get_sub_domain_all($sub_domain_id)) { $error=$err->errstr(); + echo "

$error

"; + include_once('foot.php'); + die(); } }