1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-29 04:50:51 +02:00

[ticket/8796] Fix a few issues with the previous commits

Fix an SQL error and the redirect url generated

PHPBB3-8796
This commit is contained in:
Nathaniel Guse
2012-09-03 18:58:38 -05:00
parent 9cba0b5263
commit fccbf09e4a
2 changed files with 5 additions and 5 deletions

View File

@@ -54,7 +54,7 @@ function display_forums($root_data = '', $display_moderators = true, $return_mod
// Handle marking everything read
if ($mark_read == 'all')
{
$redirect = build_url(array('mark', 'hash'));
$redirect = build_url(array('mark', 'hash', 'mark_time'));
meta_refresh(3, $redirect);
if (check_link_hash(request_var('hash', ''), 'global'))
@@ -305,7 +305,7 @@ function display_forums($root_data = '', $display_moderators = true, $return_mod
// Handle marking posts
if ($mark_read == 'forums')
{
$redirect = build_url(array('mark', 'hash'));
$redirect = build_url(array('mark', 'hash', 'mark_time'));
$token = request_var('hash', '');
if (check_link_hash($token, 'global'))
{