Skip to content

Commit 09aad65

Browse files
authored
Fix status widget output on clean installation (#633)
1 parent 1990bad commit 09aad65

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/system/reportwidgets/Status.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ protected function loadData()
7070
$this->vars['requestLogMsg'] = LogSetting::get('log_requests', false) ? false : true;
7171

7272
// TODO: Store system boot date in `Parameter`
73-
$this->vars['appBirthday'] = PluginVersion::orderBy('created_at')->first()->created_at;
73+
$this->vars['appBirthday'] = PluginVersion::orderBy('created_at')->first()?->created_at;
7474
}
7575

7676
public function onLoadWarningsForm()

0 commit comments

Comments
 (0)