From 8a0bbacf407052237eec37dad15f9c0b6d262091 Mon Sep 17 00:00:00 2001 From: Mark Unwin Date: Tue, 19 Dec 2023 09:01:55 +1000 Subject: [PATCH] Minor PHP 8.2 fix in helpAbout template. --- app/Views/helpAbout.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Views/helpAbout.php b/app/Views/helpAbout.php index 04a062316..333027c82 100644 --- a/app/Views/helpAbout.php +++ b/app/Views/helpAbout.php @@ -2,7 +2,7 @@ # Copyright © 2023 FirstWave. All Rights Reserved. # SPDX-License-Identifier: AGPL-3.0-or-later include 'shared/collection_functions.php'; -$this->db = db_connect(); +$db = db_connect(); if (php_uname('s') == "Windows NT") { exec("echo. |WMIC OS Get Caption", $output); if (isset($output[1])) { @@ -30,7 +30,7 @@ You are running version display_version ?> of Open-AudIT.
Your Host is: , and it's OS is .
- Your database platform is db->getPlatform()." (version ".$this->db->getVersion().")"; ?>.
+ Your database platform is getPlatform()." (version ".$db->getVersion().")"; ?>.
Your web server is .
Your PHP version is and it's current time is timestamp ?>.