Remove the 'Line indented incorrectly' PHPCS error.

This commit is contained in:
Ber Clausen 2013-11-12 00:08:39 -03:00
parent 7f570f33e4
commit cb42b056ac

View file

@ -1523,8 +1523,8 @@ class DboSource extends DataSource {
if (empty($queryData['fields'])) {
$queryData['fields'] = $this->fields($Model);
// hasMany relationships need the $Model primary key.
} elseif (!empty($Model->hasMany) && $Model->recursive > -1) {
// hasMany relationships need the $Model primary key.
$assocFields = $this->fields($Model, null, "{$Model->alias}.{$Model->primaryKey}");
$passedFields = $queryData['fields'];