mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-09 18:26:32 +02:00
trying to fix two conversion issues
- anonymous user not entered correctly or entered with user id 0 (need to be tested) - ips not converted git-svn-id: file:///svn/phpbb/trunk@7034 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -1215,6 +1215,13 @@ $template->assign_vars(array(
|
||||
$first_unread = $post_unread = false;
|
||||
for ($i = 0, $end = sizeof($post_list); $i < $end; ++$i)
|
||||
{
|
||||
// A non-existing rowset only happens if there was no user present for the entered poster_id
|
||||
// This could be a broken posts table.
|
||||
if (!isset($rowset[$post_list[$i]]))
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
$row =& $rowset[$post_list[$i]];
|
||||
$poster_id = $row['user_id'];
|
||||
|
||||
|
Reference in New Issue
Block a user