Permalink
Browse files

Remove the 'Line indented incorrectly' PHPCS error.

  • Loading branch information...
1 parent 7f570f3 commit cb42b056ac7aac9f166dd3d9e5cd35ade3e513c0 @bar bar committed Nov 12, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Cake/Model/Datasource/DboSource.php
@@ -1523,8 +1523,8 @@ public function prepareFields(Model $Model, $queryData) {
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'];

0 comments on commit cb42b05

Please sign in to comment.