Optimize update tips

This commit is contained in:
Pig Fang 2019-05-03 08:50:02 +08:00
parent 8599e36cc0
commit 8a240d0533

View File

@ -9,7 +9,7 @@
<p>@lang('setup.updates.success.text', ['version' => config('app.version')])</p>
{{-- if any tip is given --}}
@if (is_array($tips))
@if (is_array($tips) && count($tips) > 0)
<p><b>@lang('setup.updates.success.tips')</b></p>
<ul>
@foreach ($tips as $tip)