move it up
This commit is contained in:
parent
98fd919647
commit
3e459ed434
@ -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']);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user