From 9c1a4be90133d1fd6f8b905692536148ad05365e Mon Sep 17 00:00:00 2001 From: boffart <> Date: Mon, 7 Oct 2024 17:07:42 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9F=D1=80=D0=B0=D0=B2=D0=BA=D0=B0=20=D0=B4?= =?UTF-8?q?=D0=BB=D1=8F=20php8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Core/System/Configs/VmToolsConf.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Core/System/Configs/VmToolsConf.php b/src/Core/System/Configs/VmToolsConf.php index 9ddb68f78..613f62643 100644 --- a/src/Core/System/Configs/VmToolsConf.php +++ b/src/Core/System/Configs/VmToolsConf.php @@ -66,6 +66,6 @@ private function getCpuVendor(): string $grepPath = Util::which('grep'); $awk = Util::which('awk'); $result = shell_exec("$lsCpuPath | $grepPath vendor | $awk -F ' ' '{ print $3}'"); - return strtolower(trim($result)); + return strtolower(trim($result??'')); } } \ No newline at end of file