mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-26 00:54:27 +00:00
Fixed check in hlp_header_helper->printRefreshMeta function
This commit is contained in:
@@ -44,13 +44,16 @@ function printPageTitle($title)
|
|||||||
*/
|
*/
|
||||||
function printRefreshMeta($refresh)
|
function printRefreshMeta($refresh)
|
||||||
{
|
{
|
||||||
if (is_numeric($refresh) && $refresh > 0)
|
if ($refresh != null)
|
||||||
{
|
{
|
||||||
echo '<meta http-equiv="refresh" content="'.$refresh.'">';
|
if (is_numeric($refresh) && $refresh > 0)
|
||||||
}
|
{
|
||||||
else
|
echo '<meta http-equiv="refresh" content="'.$refresh.'">';
|
||||||
{
|
}
|
||||||
show_error('The provided refresh parameter has to be a number greater then 0');
|
else
|
||||||
|
{
|
||||||
|
show_error('The provided refresh parameter has to be a number greater then 0');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user