diff options
author | redmatrix <redmatrix@redmatrix.me> | 2015-11-01 15:52:35 -0800 |
---|---|---|
committer | redmatrix <redmatrix@redmatrix.me> | 2015-11-01 15:52:35 -0800 |
commit | d3183467e06d6d7a04221c63d26173f97217cc43 (patch) | |
tree | 1da3ddc58b87a0afdfa0bf262c2d0950a192ccce /include/photo/photo_driver.php | |
parent | b62614bbd48151837e29ab56a53e683d2f4dcb01 (diff) | |
parent | 618155e6ab1a76b5aaa667aa41a1668ce8f73a20 (diff) | |
download | volse-hubzilla-d3183467e06d6d7a04221c63d26173f97217cc43.tar.gz volse-hubzilla-d3183467e06d6d7a04221c63d26173f97217cc43.tar.bz2 volse-hubzilla-d3183467e06d6d7a04221c63d26173f97217cc43.zip |
Merge https://github.com/redmatrix/hubzilla into pending_merge
Diffstat (limited to 'include/photo/photo_driver.php')
-rw-r--r-- | include/photo/photo_driver.php | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/photo/photo_driver.php b/include/photo/photo_driver.php index e980a96e1..285cbc8fb 100644 --- a/include/photo/photo_driver.php +++ b/include/photo/photo_driver.php @@ -734,6 +734,11 @@ function import_channel_photo($photo,$type,$aid,$uid) { $photo_failure = true; } - return(($photo_failure)? false : true); + //return(($photo_failure)? false : true); + + if($photo_failure) + return false; + else + return $hash; } |