mirror of
https://github.com/Karaka-Management/oms-Admin.git
synced 2026-02-16 12:28:41 +00:00
undo serialize deprecation and switch to installExternal api calls
This commit is contained in:
parent
cdc2b83cc3
commit
c301b29a66
|
|
@ -61,7 +61,7 @@ $l11n = $this->getData('defaultlocalization') ?? new NullLocalization();
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="iOname"><?= $this->getHtml('OrganizationName'); ?></label>
|
<label for="iOname"><?= $this->getHtml('OrganizationName'); ?></label>
|
||||||
<select id="iOname" name="settings_1000000009">
|
<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); ?>
|
<option value="<?= $unit->getId(); ?>"><?= $this->printHtml($unit->name); ?>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user