You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To reproduce this, just try to get an iptc attribute that is not set inside the image.
IptcCommand will set output to null, but Image __call will return Image object
The text was updated successfully, but these errors were encountered:
The problem is here:
https://github.com/Intervention/image/blob/2.3.8/src/Intervention/Image/Image.php#L107
IPTC tests don't catch it since, they're using IptcCommand directly:
https://github.com/Intervention/image/blob/2.3.8/tests/IptcCommandTest.php
In normal usage developers would use Image->iptc('attribute') as it is described in the documentation here:
http://image.intervention.io/api/iptc
To reproduce this, just try to get an iptc attribute that is not set inside the image.
IptcCommand will set output to null, but Image __call will return Image object
The text was updated successfully, but these errors were encountered: