Skip to content

Commit

Permalink
Merge branch 'release/0.1.5'
Browse files Browse the repository at this point in the history
jgrossi committed Jan 26, 2017

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
2 parents 8c0b89c + 653236c commit e8691ca
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Field/Image.php
Original file line number Diff line number Diff line change
@@ -60,7 +60,8 @@ public function process($field)
{
$attachmentId = $this->fetchValue($field);

$attachment = $this->post->find(intval($attachmentId));
$attachment = $this->post->attachment()->find(intval($attachmentId));

$this->fillFields($attachment);

$imageData = $this->fetchMetadataValue($attachment);

0 comments on commit e8691ca

Please sign in to comment.