[FIX] Bei der Auswahl der Communities das erste Element des Arrays auslassen, da das die Meta-Community ist.

This commit is contained in:
Caspar Armster 2016-07-24 22:52:52 +02:00
parent e987207218
commit 4371ae0b31

View File

@ -126,7 +126,7 @@ if (count($community) == 1) {
<select id="fw-dl-1" name="fw-dl-1" class="form-control" onchange="populateA()">
<option value=""><?php echo $texte["ebene1_text"]?></option>
<?php $lastName = "" ?>
<?php foreach ($community as $i => $value): ?>
<?php foreach (array_slice($community, 1) as $i => $value): ?>
<?php if ($value['name'] != $lastName): ?>
<option value="<?php echo $value['name']?>"><?php echo $value['name']?></option>
<?php endif ?>