Update client_settings.php

This commit is contained in:
jakani24
2024-02-07 17:05:25 +01:00
parent 52f50255d5
commit 864136bd4a

View File

@@ -63,9 +63,9 @@ function load_settings(){
// Get the result // Get the result
$result = $stmt->get_result(); $result = $stmt->get_result();
$row = $result->fetch_assoc(); $row = $result->fetch_assoc();
if($row!==null){ if($result->num_rows > 0){
$setting_virus_ctrl_virus_found_action=$row["value"]; $setting_virus_ctrl_virus_found_action=$row["value"];
}echo($sql); }
$stmt -> close(); $stmt -> close();
//get setting: setting_rtp_folder_scan_status //get setting: setting_rtp_folder_scan_status