1

Topic: Possible search bug?

Seeing this by code-inspection - no idea if any functionality is actually impacted by it.

In search.php, line 705 (or thereabouts; using a moderately modified setup), there's a query which contains:

LEFT JOIN '.$db->prefix.'forum_perms AS fp ON (fp.forum_id=f.id AND fp.group_id='.$pun_user['group_id'].')

Shouldn't that $pun_user['group_id'] be $pun_user['g_id'] ?

Re: Possible search bug?

Fixed. Either way works, but I replaced it with g_id for the sake of consistency. Thanks smile

"Programming is like sex: one mistake and you have to support it for the rest of your life."