mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 20:38:52 +00:00
just remove a little error message that came up in a very seldom situation
git-svn-id: file:///svn/phpbb/trunk@5586 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
4bca9f448e
commit
597b1ebced
1 changed files with 11 additions and 2 deletions
|
@ -620,12 +620,21 @@ function markread($mode, $forum_id = false, $topic_id = false, $post_time = 0)
|
|||
{
|
||||
$topic_ids36 = (isset($tracking['tf'][$f_id])) ? $tracking['tf'][$f_id] : array();
|
||||
|
||||
unset($tracking['tf'][$f_id]);
|
||||
if (isset($tracking['tf'][$f_id]))
|
||||
{
|
||||
unset($tracking['tf'][$f_id]);
|
||||
}
|
||||
|
||||
foreach ($topic_ids36 as $topic_id36)
|
||||
{
|
||||
unset($tracking['t'][$topic_id36]);
|
||||
}
|
||||
unset($tracking['f'][$f_id]);
|
||||
|
||||
if (isset($tracking['f'][$f_id]))
|
||||
{
|
||||
unset($tracking['f'][$f_id]);
|
||||
}
|
||||
|
||||
$tracking['f'][$f_id] = base_convert(time() - $config['board_startdate'], 10, 36);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue