1 --- a/runtime/classes/propel/util/BasePeer.php 2018-06-08 09:24:24.133168452 +0200
2 +++ b/runtime/classes/propel/util/BasePeer.php 2018-06-08 10:26:40.142239018 +0200
8 - $sql = "UPDATE " . $tableName . " SET ";
10 + if ($db->useQuoteIdentifier()) {
11 + $sql .= $db->quoteIdentifierTable($tableName);
17 foreach ($updateTablesColumns[$tableName] as $col) {
18 $updateColumnName = substr($col, strrpos($col, '.') + 1);
20 $condition .= ' AND ';
24 + if ($db->useQuoteIdentifier()) {
25 + $_rightTable = $db->quoteIdentifierTable($rightTable);
27 + $_rightTable = $rightTable;
29 // add 'em to the queues..
30 if ($joinType = $join->getJoinType()) {
33 $fromClause[] = $leftTable . $leftTableAlias;
35 - $joinTables[] = $rightTable . $rightTableAlias;
36 - $joinClause[] = $join->getJoinType() . ' ' . $rightTable . $rightTableAlias . " ON ($condition)";
37 + $joinTables[] = $_rightTable . $rightTableAlias;
38 + $joinClause[] = $join->getJoinType() . ' ' . $_rightTable . $rightTableAlias . " ON ($condition)";
40 // implicit join, translates to a where
41 $fromClause[] = $leftTable . $leftTableAlias;