Fix ghost user warnings
This commit is contained in:
parent
9338b81dc7
commit
7f2c5efa0e
1 changed files with 6 additions and 4 deletions
|
@ -7,11 +7,13 @@ Afin d'activer DNSSEC, vous devez indiquer un enregistrement DS à la zone paren
|
|||
<option value="" disabled="" selected="">---</option>
|
||||
|
||||
<?php
|
||||
$zones = nsListUserZones($_SESSION['username']);
|
||||
if (isset($_SESSION['username'])) {
|
||||
$zones = nsListUserZones($_SESSION['username']);
|
||||
|
||||
if ($zones) {
|
||||
foreach($zones as $zone) {
|
||||
echo "<option value='" . $zone . "'>" . $zone . "</option>";
|
||||
if ($zones) {
|
||||
foreach($zones as $zone) {
|
||||
echo "<option value='" . $zone . "'>" . $zone . "</option>";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue