aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/page_header.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/page_header.php b/include/page_header.php
index eab8d39ab..7b00e7055 100644
--- a/include/page_header.php
+++ b/include/page_header.php
@@ -44,7 +44,7 @@ $template->assign_vars(
));
// refresh
-if ( isset( $refresh ) and is_int($refresh) and isset( $url_link ) )
+if ( isset( $refresh ) and intval($refresh) >= 0 and isset( $url_link ) )
{
$template->assign_vars(
array(