diff --git a/app/Http/Controllers/SetupController.php b/app/Http/Controllers/SetupController.php index 1d3d473b..6fe4357b 100644 --- a/app/Http/Controllers/SetupController.php +++ b/app/Http/Controllers/SetupController.php @@ -225,7 +225,7 @@ class SetupController extends Controller Artisan::call('view:clear'); - return view('setup.updates.success', ['tips' => $tips]); + return view('setup.updates.success', ['tips' => $tips ?? []]); } /** diff --git a/resources/misc/changelogs/en/4.1.3.md b/resources/misc/changelogs/en/4.1.3.md new file mode 100644 index 00000000..289e5e61 --- /dev/null +++ b/resources/misc/changelogs/en/4.1.3.md @@ -0,0 +1,3 @@ +## Fixed + +- Fixed an error when updating. diff --git a/resources/misc/changelogs/zh_CN/4.1.3.md b/resources/misc/changelogs/zh_CN/4.1.3.md new file mode 100644 index 00000000..719ee0e8 --- /dev/null +++ b/resources/misc/changelogs/zh_CN/4.1.3.md @@ -0,0 +1,3 @@ +## 修复 + +- 修复升级过程中的错误