aboutsummaryrefslogtreecommitdiffstats
path: root/include/photo/photo_driver.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2018-03-14 14:51:33 -0700
committerzotlabs <mike@macgirvin.com>2018-03-14 14:51:33 -0700
commit0905018d3b3b02def2b0e69e9bc4c4ef2b2b86aa (patch)
tree4a6d464a5765856bbb1c262d6d952bd3025b9b17 /include/photo/photo_driver.php
parent9d230b1f4cbffe5d937a357adbe8cfe73ce7f792 (diff)
downloadvolse-hubzilla-0905018d3b3b02def2b0e69e9bc4c4ef2b2b86aa.tar.gz
volse-hubzilla-0905018d3b3b02def2b0e69e9bc4c4ef2b2b86aa.tar.bz2
volse-hubzilla-0905018d3b3b02def2b0e69e9bc4c4ef2b2b86aa.zip
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.
Diffstat (limited to 'include/photo/photo_driver.php')
-rw-r--r--include/photo/photo_driver.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/photo/photo_driver.php b/include/photo/photo_driver.php
index 00284a288..22d2b776d 100644
--- a/include/photo/photo_driver.php
+++ b/include/photo/photo_driver.php
@@ -273,7 +273,7 @@ abstract class photo_driver {
}
if($f) {
- return @exif_read_data($f);
+ return @exif_read_data($f,null,true);
}
return false;