move it up

This commit is contained in:
Mario Vavti 2015-10-29 11:34:56 +01:00
parent 98fd919647
commit 3e459ed434

View File

@ -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']);
}
}