From 2adfa8a09c9bd2d912db0de0762ebbd06dfa1d54 Mon Sep 17 00:00:00 2001 From: Paolo Date: Tue, 8 Mar 2022 14:52:44 +0100 Subject: [PATCH] Fixed check in hlp_header_helper->printRefreshMeta function --- application/helpers/hlp_header_helper.php | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/application/helpers/hlp_header_helper.php b/application/helpers/hlp_header_helper.php index 63924f4c8..203834ebb 100644 --- a/application/helpers/hlp_header_helper.php +++ b/application/helpers/hlp_header_helper.php @@ -44,13 +44,16 @@ function printPageTitle($title) */ function printRefreshMeta($refresh) { - if (is_numeric($refresh) && $refresh > 0) + if ($refresh != null) { - echo ''; - } - else - { - show_error('The provided refresh parameter has to be a number greater then 0'); + if (is_numeric($refresh) && $refresh > 0) + { + echo ''; + } + else + { + show_error('The provided refresh parameter has to be a number greater then 0'); + } } }