From 39edb274f6151342a896855803e3a5bf8c0b87ee Mon Sep 17 00:00:00 2001 From: Lewis Milburn Date: Mon, 29 Apr 2024 17:25:40 +0100 Subject: [PATCH] Fix bugs --- Plugins/ControlPanel/Assets/ChkValues.php | 6 +----- Plugins/ControlPanel/Views/Alert.php | 2 +- Processes/Saturn/DatabaseManager/DBMS.php | 2 +- 3 files changed, 3 insertions(+), 7 deletions(-) diff --git a/Plugins/ControlPanel/Assets/ChkValues.php b/Plugins/ControlPanel/Assets/ChkValues.php index 3d18e72..d64b383 100644 --- a/Plugins/ControlPanel/Assets/ChkValues.php +++ b/Plugins/ControlPanel/Assets/ChkValues.php @@ -1,5 +1 @@ -HasPermission(['administrator','panel_settings'],'OR')) { diff --git a/Processes/Saturn/DatabaseManager/DBMS.php b/Processes/Saturn/DatabaseManager/DBMS.php index 55a58f9..2e5d3b9 100644 --- a/Processes/Saturn/DatabaseManager/DBMS.php +++ b/Processes/Saturn/DatabaseManager/DBMS.php @@ -34,7 +34,7 @@ public function __construct() } } - public function Escape(string $String): string + public function Escape($String): string { return htmlspecialchars($String); }