[TYPO3-core] RFC: Fix for bug #1649

Holzinger Franz franz at fholzinger.com
Thu Dec 22 23:03:18 CET 2005


>
>
>($local_table ? $local_table.',' : '').$mm_table.($foreign_table ? ','.($foreign_table_as ? $foreign_table_as : $foreign_table) : ''),
> 					$mmWhere.' '.$whereClause,		// whereClauseMightContainGroupOrderBy
> 					$groupBy,
> 					$orderBy,
>


>Though, there is a real bug. This
>
>($foreign_table_as ? $foreign_table_as : $foreign_table) 
>
>should be
>
>($foreign_table_as ? $foreign_table.' AS '.$foreign_table_as : $foreign_table) 
>
>  
>
The ' AS ' is not necessary.

$mm_table.($foreign_table ? ','. $foreign_table.($foreign_table_as ? ' '.$foreign_table_as : '') : ''),




Franz





More information about the TYPO3-team-core mailing list