undo serialize deprecation and switch to installExternal api calls

This commit is contained in:
Dennis Eichhorn 2022-03-26 15:01:45 +01:00
parent cdc2b83cc3
commit c301b29a66

View File

@ -61,7 +61,7 @@ $l11n = $this->getData('defaultlocalization') ?? new NullLocalization();
<div class="form-group">
<label for="iOname"><?= $this->getHtml('OrganizationName'); ?></label>
<select id="iOname" name="settings_1000000009">
<?php $unit = UnitMapper::get((int) $generalSettings[1000000009]); ?>
<?php $unit = UnitMapper::get()->where('id', (int) $generalSettings[1000000009])->execute(); ?>
<option value="<?= $unit->getId(); ?>"><?= $this->printHtml($unit->name); ?>
</select>
</div>