diff options
author | Mario Vavti <mario@mariovavti.com> | 2015-10-29 11:34:56 +0100 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2015-10-29 11:34:56 +0100 |
commit | 3e459ed4345e9e19db92856e78b9bf4ebbd6ffdd (patch) | |
tree | 5c60e61e311a6c2fab3a5fcdeed88d5f8fbe9930 /include | |
parent | 98fd919647a0eb86131eb3863719dfd75ec700a7 (diff) | |
download | volse-hubzilla-3e459ed4345e9e19db92856e78b9bf4ebbd6ffdd.tar.gz volse-hubzilla-3e459ed4345e9e19db92856e78b9bf4ebbd6ffdd.tar.bz2 volse-hubzilla-3e459ed4345e9e19db92856e78b9bf4ebbd6ffdd.zip |
move it up
Diffstat (limited to 'include')
-rw-r--r-- | include/photo/photo_driver.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/photo/photo_driver.php b/include/photo/photo_driver.php index 11e4c8af3..96bde7587 100644 --- a/include/photo/photo_driver.php +++ b/include/photo/photo_driver.php @@ -598,6 +598,7 @@ function import_profile_photo($photo,$xchan,$thing = false) { if($result['success']) { $img_str = $result['body']; + $type = guess_image_type($photo, $result['header']); $h = explode("\n",$result['header']); if($h) { @@ -609,7 +610,6 @@ function import_profile_photo($photo,$xchan,$thing = false) { } } } - $type = guess_image_type($photo, $result['header']); } } |