aboutsummaryrefslogtreecommitdiffstats
path: root/include/photo/photo_driver.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-05-31 22:59:07 -0700
committerzotlabs <mike@macgirvin.com>2017-05-31 22:59:07 -0700
commitcdfcb1ed24d950efa2a2054bec5267ecdae3fb68 (patch)
treec64daef83e460c3ab2a606b1812f170c6fa37ebd /include/photo/photo_driver.php
parente6581aa09c582e32f5b4e5b06243265abd1ff45e (diff)
downloadvolse-hubzilla-cdfcb1ed24d950efa2a2054bec5267ecdae3fb68.tar.gz
volse-hubzilla-cdfcb1ed24d950efa2a2054bec5267ecdae3fb68.tar.bz2
volse-hubzilla-cdfcb1ed24d950efa2a2054bec5267ecdae3fb68.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);