use original exif_read_data() parameters which were lost in a regression; unset automatic nsfw category generated for Mastodon content warning posts, as people use CW as a spoiler mechanism 99% of the time and flagging inappropriate content 1% of the time.

This commit is contained in:
zotlabs
2018-03-14 14:51:33 -07:00
parent 9d230b1f4c
commit 0905018d3b
2 changed files with 9 additions and 1 deletions

View File

@@ -273,7 +273,7 @@ abstract class photo_driver {
}
if($f) {
return @exif_read_data($f);
return @exif_read_data($f,null,true);
}
return false;