Skip to content

Commit

Permalink
fix: twig filter exif_read_data throws critical error
Browse files Browse the repository at this point in the history
  • Loading branch information
Rotzbua committed Dec 23, 2024
1 parent 2e975df commit 2c85d94
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ public function getimagesize($filename)
* @param bool $read_thumbnail
* @return array|false
*/
public function exif_read_data($filename, ?string $required_sections, bool $as_arrays = false, bool $read_thumbnail = false)
public function exif_read_data($filename, ?string $required_sections = null, bool $as_arrays = false, bool $read_thumbnail = false)
{
if (!Utils::functionExists('exif_read_data') || !$this->checkFilename($filename)) {
return false;
Expand Down

0 comments on commit 2c85d94

Please sign in to comment.