Quote:
Originally Posted by Xorlev
The problem there seems to be that there is no post table. You may need a table prefix.
|
No; the problem is that there is no post table in the result set. The only table he is pulling from is 'thread'.
I would add something like:
PHP Code:
"FROM " . TABLE_PREFIX . "thread as thread
LEFT JOIN " . TABLE_PREFIX . "post as post on (thread.firstpostid = post.postid)"