The strange thing with this query is why vB devs are using $vbulletin->userinfo['userid'] and $userid which is the same value?
I'm trying to see where it happens but can't reproduce.
Can you try this:
- Activate Project Tools product
- Uncheck every plugin related to Project Tools
- Enable 1 plugin at each time and to go page to the problematic page to see if the problem occurs
- When the first issue appears, give me the name of the latest plugin you activated
Thanks
PS: seems to be similar than
http://www.vb-os.com/project.php?issueid=163
--------------- Added [DATE]1297547374[/DATE] at [TIME]1297547374[/TIME] ---------------
I posted a patch in my latest link, can you try it?
As I can't reproduce the problem but it seems the origin is the same... Thank you