diff options
author | Mario Vavti <mario@mariovavti.com> | 2015-10-29 11:34:30 +0100 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2015-10-29 11:34:30 +0100 |
commit | d66be62516c1297135d707f0d565e100651529d5 (patch) | |
tree | e36b369c4feed25f25ee491cf369ab8a9c8e156d /include | |
parent | 0a9b2b6b15bcf3f3b2fe604defd0cd99934f992b (diff) | |
download | volse-hubzilla-d66be62516c1297135d707f0d565e100651529d5.tar.gz volse-hubzilla-d66be62516c1297135d707f0d565e100651529d5.tar.bz2 volse-hubzilla-d66be62516c1297135d707f0d565e100651529d5.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 f9b6e5ea8..e980a96e1 100644 --- a/include/photo/photo_driver.php +++ b/include/photo/photo_driver.php @@ -598,6 +598,7 @@ function import_xchan_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_xchan_photo($photo,$xchan,$thing = false) { } } } - $type = guess_image_type($photo, $result['header']); } } else { |