mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-23 16:52:54 +02:00
Merge pull request #1403 from bantu/ticket/11105
[ticket/11105] Add mandatory space to content part of meta http-equiv=re...
This commit is contained in:
@@ -2740,7 +2740,7 @@ function meta_refresh($time, $url, $disable_cd_check = false)
|
|||||||
|
|
||||||
// For XHTML compatibility we change back & to &
|
// For XHTML compatibility we change back & to &
|
||||||
$template->assign_vars(array(
|
$template->assign_vars(array(
|
||||||
'META' => '<meta http-equiv="refresh" content="' . $time . ';url=' . $url . '" />')
|
'META' => '<meta http-equiv="refresh" content="' . $time . '; url=' . $url . '" />')
|
||||||
);
|
);
|
||||||
|
|
||||||
return $url;
|
return $url;
|
||||||
|
@@ -2087,7 +2087,7 @@ class install_convert extends module
|
|||||||
// Because we should not rely on correct settings, we simply use the relative path here directly.
|
// Because we should not rely on correct settings, we simply use the relative path here directly.
|
||||||
$template->assign_vars(array(
|
$template->assign_vars(array(
|
||||||
'S_REFRESH' => true,
|
'S_REFRESH' => true,
|
||||||
'META' => '<meta http-equiv="refresh" content="5;url=' . $url . '" />')
|
'META' => '<meta http-equiv="refresh" content="5; url=' . $url . '" />')
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user