2020-05-02, 11:23 AM
The following piece of code seems wrong to me:
FiIt should be
if(!empty($forumcache[$thread['fid']]))
{
$post['forumlink_link'] = get_forum_link($post['fid']);
$post['forumlink_name'] = $forumcache[$post['fid']]['name'];
eval("\$post['forumlink'] = \"".$templates->get("search_results_posts_forumlink")."\";");
}
FiIt should be
$post['fid']
instead of $thread['fid']
in there.