From 0d0751fce3b03bbe791d1c2fb65090ec179f0da2 Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Sun, 5 Nov 2017 07:45:49 +0100 Subject: [PATCH] comparison works now --- mod/admin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod/admin.php b/mod/admin.php index 20f7768a03..c41bcdc4a6 100644 --- a/mod/admin.php +++ b/mod/admin.php @@ -617,7 +617,7 @@ function admin_page_summary(App $a) { } // Check if github.com/friendica/master/VERSION is higher then // the local version of Friendica. Check is opt-in, source may be master or devel branch - if (! Config::get('system', 'check_new_version_url', 'none') == 'none' ) { + if (Config::get('system', 'check_new_version_url', 'none') != 'none' ) { $gitversion = Config::get('system','git_friendica_version'); if ( version_compare(FRIENDICA_VERSION, $gitversion)<0) { $warningtext[] = t('There is a new version of Friendica available for download.'); -- 2.39.5