Skip to content

Commit

Permalink
Merge pull request #364 from davidyell/thumbnail-shell-field
Browse files Browse the repository at this point in the history
Fixed the ambigous field error
  • Loading branch information
josegonzalez committed Feb 23, 2016
2 parents 331394f + df9305d commit 36b8011
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Console/Command/ThumbnailShell.php
Expand Up @@ -65,7 +65,7 @@ public function generate() {
$files = $this->{$modelName}->find('all', array(
'fields' => [$this->{$modelName}->primaryKey, $field, $mergedConfig['fields']['dir']],
'conditions' => array(
$field . " IS NOT NULL"
$modelName . '.' . $field . " IS NOT NULL"
)
));

Expand Down

0 comments on commit 36b8011

Please sign in to comment.