Skip to content

Commit

Permalink
Fixes #31
Browse files Browse the repository at this point in the history
  • Loading branch information
claviska committed Dec 12, 2013
1 parent f75cbf5 commit b624b76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/abeautifulsite/SimpleImage.php
Original file line number Diff line number Diff line change
Expand Up @@ -1093,7 +1093,7 @@ protected function get_meta_data() {
'width' => $info[0],
'height' => $info[1],
'orientation' => $this->get_orientation(),
'exif' => function_exists('exif_read_data') && $info['mime'] === 'image/jpeg' && $imagestring === null ? $this->exif = @exif_read_data($this->filename) : null,
'exif' => function_exists('exif_read_data') && $info['mime'] === 'image/jpeg' && $this->imagestring === null ? $this->exif = @exif_read_data($this->filename) : null,
'format' => preg_replace('/^image\//', '', $info['mime']),
'mime' => $info['mime']
);
Expand Down

2 comments on commit b624b76

@Marwelln
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please tag this as 2.5.1 so we can get it with require "abeautifulsite/simpleimage" : "2.5.*" instead of having to use dev-master.

@claviska
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated

Please sign in to comment.