We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
exifFunc throws "non-numeric value" error. Seems to be caused by accidental '&' instead of '&&' in this if statement:
if ($image & file_exists($image) && $this->config->get('system.media.auto_metadata_exif') && $exif_reader)
Changing the first '&' to '&&' stopped the error and the function worked properly.
grav/system/src/Grav/Common/Twig/TwigExtension.php
Line 1157 in 92e8dbf
The text was updated successfully, but these errors were encountered:
It looks like that might of been a typo. Fixing
Sorry, something went wrong.
Fixed bitwise operator in TwigExtension::exifFunc() #2518
TwigExtension::exifFunc()
331f416
23a928c
No branches or pull requests
exifFunc throws "non-numeric value" error. Seems to be caused by accidental '&' instead of '&&' in this if statement:
Changing the first '&' to '&&' stopped the error and the function worked properly.
grav/system/src/Grav/Common/Twig/TwigExtension.php
Line 1157 in 92e8dbf
The text was updated successfully, but these errors were encountered: