From 570ac1e505a3455343bbae13c0021a7facd797f7 Mon Sep 17 00:00:00 2001 From: phl0 Date: Thu, 30 Jun 2022 21:32:09 +0200 Subject: [PATCH] Use optionslib to read config value --- application/views/interface_assets/footer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/views/interface_assets/footer.php b/application/views/interface_assets/footer.php index 55117252..0c7a30f3 100644 --- a/application/views/interface_assets/footer.php +++ b/application/views/interface_assets/footer.php @@ -1126,7 +1126,7 @@ $(document).on('keypress',function(e) { $("#selectPropagation").val(data.prop_mode); // Display CAT Timeout warnng based on the figure given in the config file - var minutes = Math.floor(config->item('cat_timeout_interval'); ?> / 60); + var minutes = Math.floor(optionslib->get_option('cat_timeout_interval'); ?> / 60); if(data.updated_minutes_ago > minutes) { if($('.radio_timeout_error').length == 0) {