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";