Skip to content
This repository has been archived by the owner on Apr 8, 2024. It is now read-only.

Commit

Permalink
Merge pull request #29 from rahman95/master
Browse files Browse the repository at this point in the history
Update Image.php
  • Loading branch information
jameslkingsley authored Jan 25, 2019
2 parents f34dba5 + dc19e61 commit a8ab3d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Fields/Image.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ protected function resolveAttribute($resource, $attribute)
{
$media = parent::resolveAttribute($resource, $attribute);

$conversion = $this->meta()['usingConversion'] ?? [];
$conversion = $this->meta()['usingConversion'] ?? '';

if ($media) {
if ($media->hasGeneratedConversion($conversion)) {
Expand Down

0 comments on commit a8ab3d4

Please sign in to comment.