Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Remove the 'Line indented incorrectly' PHPCS error.

  • Loading branch information...
commit cb42b056ac7aac9f166dd3d9e5cd35ade3e513c0 1 parent 7f570f3
@bar bar authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/Cake/Model/Datasource/DboSource.php
View
2  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'];
Please sign in to comment.
Something went wrong with that request. Please try again.