Index: t3lib/class.t3lib_loaddbgroup.php =================================================================== --- t3lib/class.t3lib_loaddbgroup.php (revision 6314) +++ t3lib/class.t3lib_loaddbgroup.php (working copy) @@ -298,7 +298,7 @@ if ($this->MM_table_where) { - $additionalWhere.= "\n".str_replace('###THIS_UID###', intval($uid), $this->MM_table_where); + $additionalWhere .= " AND " . str_replace('###THIS_UID###', intval($uid), $this->MM_table_where); } foreach ($this->MM_match_fields as $field => $value) { $additionalWhere.= ' AND '.$field.'='.$GLOBALS['TYPO3_DB']->fullQuoteStr($value, $tableName);