From: Michael Vogel Date: Sun, 22 Jan 2023 20:35:24 +0000 (+0100) Subject: Update src/Module/Admin/Summary.php X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=9e9aa4b108d3bbfc16f51d56fd03957516b28715;p=friendica.git Update src/Module/Admin/Summary.php Co-authored-by: Hypolite Petovan --- diff --git a/src/Module/Admin/Summary.php b/src/Module/Admin/Summary.php index f9c8cefbb6..9ca71e33d2 100644 --- a/src/Module/Admin/Summary.php +++ b/src/Module/Admin/Summary.php @@ -79,7 +79,7 @@ class Summary extends BaseAdmin // Check if github.com/friendica/stable/VERSION is higher then // the local version of Friendica. Check is opt-in, source may be stable or develop branch if (DI::config()->get('system', 'check_new_version_url', 'none') != 'none') { - $gitversion = DI::keyValue()->get('git_friendica_version'); + $gitversion = DI::keyValue()->get('git_friendica_version') ?? ''; if (version_compare(App::VERSION, $gitversion) < 0) { $warningtext[] = DI::l10n()->t('There is a new version of Friendica available for download. Your current version is %1$s, upstream version is %2$s', App::VERSION, $gitversion);