From cb42b056ac7aac9f166dd3d9e5cd35ade3e513c0 Mon Sep 17 00:00:00 2001 From: Ber Clausen Date: Tue, 12 Nov 2013 00:08:39 -0300 Subject: [PATCH] Remove the 'Line indented incorrectly' PHPCS error. --- lib/Cake/Model/Datasource/DboSource.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Cake/Model/Datasource/DboSource.php b/lib/Cake/Model/Datasource/DboSource.php index caef7281e..a18f12b93 100644 --- a/lib/Cake/Model/Datasource/DboSource.php +++ b/lib/Cake/Model/Datasource/DboSource.php @@ -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'];