1
0
mirror of https://github.com/Intervention/image.git synced 2025-08-24 14:32:52 +02:00

set exif_read_data parameters to default

This commit is contained in:
Oliver Vogel
2014-10-15 19:55:53 +02:00
parent 4b2ec8d998
commit 48777cde5e

View File

@@ -24,7 +24,7 @@ class ExifCommand extends AbstractCommand
$key = $this->argument(0)->value();
// try to read exif data from image file
$data = @exif_read_data($image->dirname .'/'. $image->basename, 'EXIF', false);
$data = @exif_read_data($image->dirname .'/'. $image->basename);
if (! is_null($key) && is_array($data)) {
$data = array_key_exists($key, $data) ? $data[$key] : false;