Fix bugs
This commit is contained in:
parent
f8f4579f16
commit
9067d20048
|
|
@ -195,10 +195,16 @@ class Updates extends Controller
|
|||
$plugins[$code] = array_get($plugin, 'hash', null);
|
||||
}
|
||||
|
||||
$themes = [];
|
||||
$themeList = array_get($result, 'themes', []);
|
||||
foreach ($themeList as $code => $theme) {
|
||||
$themes[$code] = array_get($theme, 'hash', null);
|
||||
}
|
||||
|
||||
/*
|
||||
* Update steps
|
||||
*/
|
||||
$updateSteps = $this->buildUpdateSteps($core, $plugins);
|
||||
$updateSteps = $this->buildUpdateSteps($core, $plugins, $themes);
|
||||
|
||||
/*
|
||||
* Finish up
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
<i class="icon-cube"></i>
|
||||
<?= e(trans('system::lang.system.name')) ?>
|
||||
<?php if ($core['old_build']): ?>
|
||||
<?= e(trans('system::lang.updates.core_build_old', ['build'=>$core['old_build']])) ?>
|
||||
<small><?= e(trans('system::lang.updates.core_build_old', ['build'=>$core['old_build']])) ?></small>
|
||||
<?php endif ?>
|
||||
</h5>
|
||||
<dl>
|
||||
|
|
|
|||
Loading…
Reference in New Issue