11-27-2010, 10:42 PM
I was editing a modification on my website; here is the code already modified
However, it pulls this error:
(Line 325 is array( 'select' => 'm.member_id...etc))
Any and all help is appreciated, thanks.
PHP Code:
if( $content_title_only )
{
$k = 'tid';
$this->DB->build( array(
'select' => "t.*",
'from' => array( 'topics' => 't' ),
'where' => 't.tid IN( ' . implode( ',', $ids ) . ')',
'add_join' => array_merge( array( array( 'select' => 'p.*',
'from' => array( 'posts' => 'p' ),
'where' => 'p.pid=t.topic_firstpost',
'type' => 'left' ),
array( 'select' => 'm.member_id, m.members_display_name, m.members_seo_name', m.member_group_id AS starter_group
'from' => array( 'members' => 'm' ),
'where' => 'm.member_id=p.author_id',
'type' => 'left' ) ), $_post_joins ) ) );
}
However, it pulls this error:
PHP Code:
Error: Parse error: syntax error, unexpected T_AS, expecting ')' in DIRECTORY on line 325
(Line 325 is array( 'select' => 'm.member_id...etc))
Any and all help is appreciated, thanks.