aboutsummaryrefslogtreecommitdiffstats
path: root/include/photo/photo_driver.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-05-31 22:59:07 -0700
committerMario Vavti <mario@mariovavti.com>2017-06-07 09:33:00 +0200
commitc96fe2931a43614f209ce19e2cec507fc5b6c8f3 (patch)
tree6265846fde93bf37e6ecd4f03a2ec24d2c50d052 /include/photo/photo_driver.php
parent8a11dc0c900e48d3625ad500290d862d5fa64667 (diff)
downloadvolse-hubzilla-c96fe2931a43614f209ce19e2cec507fc5b6c8f3.tar.gz
volse-hubzilla-c96fe2931a43614f209ce19e2cec507fc5b6c8f3.tar.bz2
volse-hubzilla-c96fe2931a43614f209ce19e2cec507fc5b6c8f3.zip
cleanup only
Diffstat (limited to 'include/photo/photo_driver.php')
-rw-r--r--include/photo/photo_driver.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/photo/photo_driver.php b/include/photo/photo_driver.php
index cc1f3b5d0..0bf09e4d8 100644
--- a/include/photo/photo_driver.php
+++ b/include/photo/photo_driver.php
@@ -252,11 +252,10 @@ abstract class photo_driver {
*/
if(! $this->is_valid())
- return FALSE;
-
+ return false;
if((! function_exists('exif_read_data')) || ($this->getType() !== 'image/jpeg'))
- return;
+ return false;
$exif = @exif_read_data($filename,null,true);