diff --git a/cake/libs/model/datasources/dbo_source.php b/cake/libs/model/datasources/dbo_source.php index 11321173e..8bbd66c09 100644 --- a/cake/libs/model/datasources/dbo_source.php +++ b/cake/libs/model/datasources/dbo_source.php @@ -1244,7 +1244,7 @@ class DboSource extends DataSource { break; case 'update': if (!empty($alias)) { - $aliases = "{$this->alias}{$alias} {$joins}"; + $aliases = "{$this->alias}{$alias} {$joins} "; } return "UPDATE {$table} {$aliases}SET {$fields} {$conditions}"; break;