From 951340dc1b8baf45cc528b49a88877aa5e503850 Mon Sep 17 00:00:00 2001 From: fusionate Date: Mon, 29 May 2023 19:59:27 +0000 Subject: [PATCH] System Status: Update for PHP 8.1 --- app/system/system.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/system/system.php b/app/system/system.php index b00c249aa5..df881173c4 100644 --- a/app/system/system.php +++ b/app/system/system.php @@ -17,7 +17,7 @@ The Initial Developer of the Original Code is Mark J Crane - Portions created by the Initial Developer are Copyright (C) 2008-2019 + Portions created by the Initial Developer are Copyright (C) 2008-2023 the Initial Developer. All Rights Reserved. Contributor(s): @@ -161,7 +161,7 @@ echo " $switch_version ($switch_bits)\n"; echo "\n"; preg_match("/\(git\s*(.*?)\s*\d+\w+\s*\)/", $switch_version, $matches); - $switch_git_info = $matches[1]; + $switch_git_info = $matches[1] ?? null; if(!empty($switch_git_info)){ echo "\n"; echo " \n";