Project

General

Profile

Bug #20405 ยป 0011053-t3lib_db.patch

Administrator Admin, 2009-05-08 13:20

View differences:

t3lib/class.t3lib_db.php (Arbeitskopie)
$mmWhere.= ($local_table AND $foreign_table) ? ' AND ' : '';
$mmWhere.= $foreign_table ? ($foreign_table_as ? $foreign_table_as : $foreign_table).'.uid='.$mm_table.'.uid_foreign' : '';
return $GLOBALS['TYPO3_DB']->exec_SELECTquery(
return $this->exec_SELECTquery(
$select,
($local_table ? $local_table.',' : '').$mm_table.($foreign_table ? ','. $foreign_table.($foreign_table_as ? ' AS '.$foreign_table_as : '') : ''),
$mmWhere.' '.$whereClause, // whereClauseMightContainGroupOrderBy
......
return false;
}
$error = $GLOBALS['TYPO3_DB']->sql_error();
$error = $this->sql_error();
$trail = t3lib_div::debug_trail();
$explain_tables = array();
    (1-1/1)