Skip to content

Commit

Permalink
Fix GridFSLoader
Browse files Browse the repository at this point in the history
It seems that a previously proposed patch never made it into the repo (cf. issue liip#305)
  • Loading branch information
aldeck committed Jun 5, 2014
1 parent 006a641 commit f3e3da5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Binary/Loader/GridFSLoader.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,6 @@ public function find($id)
throw new NotLoadableException(sprintf('Source image was not found with id "%s"', $id));
}

return $image['file']->getBytes();
return $image->getFile()->getBytes();
}
}

0 comments on commit f3e3da5

Please sign in to comment.