29.08.2008, 15:12
Das Feld laspostuid wird im Query nicht abgefragt. Ersetze
durch
PHP-Code:
$query = $db->query ("SELECT t.subject,t.username,t.uid,t.tid,f.fid,t.dateline, f.name FROM ".TABLE_PREFIX."threads t LEFT JOIN ".TABLE_PREFIX."forums f ON f.fid=t.fid WHERE t.visible='1' $unviewwhere ORDER BY t.lastpost DESC LIMIT 0,".$limit."");
PHP-Code:
$query = $db->query ("SELECT t.subject,t.username,t.uid,t.tid,f.fid,t.dateline,t.lastposteruid,f.name FROM ".TABLE_PREFIX."threads t LEFT JOIN ".TABLE_PREFIX."forums f ON f.fid=t.fid WHERE t.visible='1' $unviewwhere ORDER BY t.lastpost DESC LIMIT 0,".$limit."");