Skip to content

Commit 0ae2272

Browse files
committed
Fix the usage of the Exif chunk
1 parent 97a6d85 commit 0ae2272

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

wcfsetup/install/files/lib/system/endpoint/controller/core/files/PrepareUpload.class.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,9 +104,7 @@ private function parseExifData(?string $exifData): array|null
104104
return null;
105105
}
106106

107-
$exif = new Exif(0, $exifData);
108-
109-
return $exif->getParsedExif();
107+
return Exif::forBytes(0, $exifData)->getParsedExif();
110108
}
111109
}
112110

0 commit comments

Comments
 (0)