Merge branch 'Patching/fix-pop-bug' into 'master'

fixed bug in patching

See merge request fronk/thetool!1531
This commit is contained in:
Luca Haid
2025-07-10 09:44:27 +00:00

View File

@@ -61,8 +61,8 @@ $additionalHead = [
<?php foreach($mynetworks as $fnet): ?>
<?php if(is_array($fnet->pops) && count($fnet->pops)): ?>
<optgroup label="<?=e($fnet->name)?>">
<?php foreach($fnet->pops as $pop): ?>
<option value="<?=e($pop->id)?>" <?=($filter['pop_id'] ?? null == $pop->id) ? "selected='selected'" : ""?>><?=e($pop->name)?></option>
<?php foreach($fnet->pops as $pop): ?>
<option value="<?=e($pop->id)?>" <?=(isset($filter['pop_id']) && $filter['pop_id'] == $pop->id) ? "selected='selected'" : ""?>><?=e($pop->name)?></option>
<?php endforeach; ?>
</optgroup>
<?php endif; ?>